aboutsummaryrefslogtreecommitdiff
path: root/changes/bug18089
diff options
context:
space:
mode:
authorteor (Tim Wilson-Brown) <teor2345@gmail.com>2016-01-19 11:22:58 +1100
committerNick Mathewson <nickm@torproject.org>2016-01-18 19:58:07 -0500
commitdb8156533133836b19bca51f7fabba4d161b6ba2 (patch)
treecd957b253c604a124b7e1a9ad2f9c0f4b68a5249 /changes/bug18089
parentc7b0cd9c2f52ca289515833060ac0b8461da2225 (diff)
downloadtor-db8156533133836b19bca51f7fabba4d161b6ba2.tar.gz
tor-db8156533133836b19bca51f7fabba4d161b6ba2.zip
Make memwipe() do nothing when passed a NULL pointer or zero size
Check size argument to memwipe() for underflow. Closes bug #18089. Reported by "gk", patch by "teor". Bugfix on 0.2.3.25 and 0.2.4.6-alpha (#7352), commit 49dd5ef3 on 7 Nov 2012.
Diffstat (limited to 'changes/bug18089')
-rw-r--r--changes/bug180896
1 files changed, 6 insertions, 0 deletions
diff --git a/changes/bug18089 b/changes/bug18089
new file mode 100644
index 0000000000..c1fb342f77
--- /dev/null
+++ b/changes/bug18089
@@ -0,0 +1,6 @@
+ o Minor fixes (security):
+ - Make memwipe() do nothing when passed a NULL pointer
+ or zero size. Check size argument to memwipe() for underflow.
+ Closes bug #18089. Reported by "gk", patch by "teor".
+ Bugfix on 0.2.3.25 and 0.2.4.6-alpha (#7352),
+ commit 49dd5ef3 on 7 Nov 2012.