aboutsummaryrefslogtreecommitdiff
path: root/src/or
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 /src/or
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 'src/or')
0 files changed, 0 insertions, 0 deletions