tor/changes
Nick Mathewson 37953497d8 Don't compute ((uint64_t)1)<<64 in round_to_power_of_2
This would be undefined behavior if it happened. (It can't actually
happen as we're using round_to_power_of_2, since we would have to
be trying to allocate exabytes of data.)

While we're at it, fix the behavior of round_to_power_of_2(0),
and document the function better.

Fix for bug 6831.
2012-09-14 09:51:24 -04:00
..
bug6341 Check ewma_enabled before doing circ-has-become-inactive check 2012-07-18 10:28:55 -04:00
bug6538 Refactor the core of choosing by weights into a function 2012-08-09 14:15:58 -04:00
bug6811 Fix assertion failure in tor_timegm. 2012-09-11 13:13:07 -04:00
bug6815 Fix directory self-testing logic 2012-09-12 10:26:59 -04:00
bug6819 Revert "6819: typo in torrc.sample.in" 2012-09-12 15:37:47 -04:00
bug6827 mention the bug number in the 6827 changes file 2012-09-13 10:07:06 -04:00
bug6831 Don't compute ((uint64_t)1)<<64 in round_to_power_of_2 2012-09-14 09:51:24 -04:00