diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-07-14 13:56:40 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-07-14 15:05:30 -0400 |
commit | b7566d465f0299e97b46f40d746a1203257245d4 (patch) | |
tree | f0f548d533e5d566bdc92cb2099405e5dd33d066 /changes/bug22924 | |
parent | 527c0735f11d5a36aa1fb84dc30b624139ba8406 (diff) | |
download | tor-b7566d465f0299e97b46f40d746a1203257245d4.tar.gz tor-b7566d465f0299e97b46f40d746a1203257245d4.zip |
Fix a signed integer overflow in dir/download_status_random_backoff
Fix for 22924. Bugfix on 0.2.9.1-alpha when the test was introducd
-- though it couldn't actually overflow until we fixed 17750.
Additionally, this only seems to overflow on 32-bit, and only when
the compiler doesn't re-order the (possibly dead) assignment out of
the way. We ran into it on a 32-bit ubuntu trusty builder.
Diffstat (limited to 'changes/bug22924')
-rw-r--r-- | changes/bug22924 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/changes/bug22924 b/changes/bug22924 new file mode 100644 index 0000000000..e59fc724eb --- /dev/null +++ b/changes/bug22924 @@ -0,0 +1,4 @@ + o Minor bugfies (tests): + - Fix a signed-integer overflow in the unit tests for + dir/download_status_random_backoff, which was untriggered until we + fixed bug 17750. Fixes bug 22924; bugfix on 0.2.9.1-alpha. |