aboutsummaryrefslogtreecommitdiff
path: root/changes
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-11-09 12:08:28 -0500
committerNick Mathewson <nickm@torproject.org>2011-11-09 14:48:52 -0500
commite1c6431e42bc6b5619c78008cbe92730ead57bbf (patch)
tree0be531fd05c9c884add652ca81427b3a9a48705f /changes
parentbe6928d6e78a47800a96962403efff753ad70e84 (diff)
downloadtor-e1c6431e42bc6b5619c78008cbe92730ead57bbf.tar.gz
tor-e1c6431e42bc6b5619c78008cbe92730ead57bbf.zip
Correct the handling of overflow behavior in smartlist_ensure_capacity
The old behavior was susceptible to the compiler optimizing out our assertion check, *and* could still overflow size_t on 32-bit systems even when it did work.
Diffstat (limited to 'changes')
-rw-r--r--changes/bug42305
1 files changed, 5 insertions, 0 deletions
diff --git a/changes/bug4230 b/changes/bug4230
new file mode 100644
index 0000000000..c1ba5847fc
--- /dev/null
+++ b/changes/bug4230
@@ -0,0 +1,5 @@
+ o Minor bugfixes:
+ - Resolve an integer overflow bug in smartlist_ensure_capacity.
+ Fixes bug 4230; bugfix on Tor 0.1.0.1-rc. Based on a patch by
+ Mansour Moufid.
+