tor/changes/bug5786_nocrash
Nick Mathewson d9ba9f91d2 Detect out-of-bounds bwweightscale values early in the voting process
If the authorities agreed on a sufficiently bad bwweightscale value
(<=0 or == INT32_MAX), the bandwidth algorithm could make the voters
assert while computing the consensus.

Fix for bug5786; bugfix on 0.2.2.17-alpha
2012-05-07 12:47:13 -04:00

8 lines
374 B
Plaintext

o Major bugfixes (directory authorties):
- When computing weight parameters, behave more robustly in the
presence of a bad bwweightscale value. Previously, the
authorities would crash if they agreed on a sufficiently browken
weight_scale value: now, they use a reasonable default and carry
on. Partial fix for 5786; bugfix on 0.2.2.17-alpha.