FIx undefined behavior in dirvote.c

Fix a bug in the voting algorithm that could yield incorrect results
 when a non-naming authority declared too many flags. Fixes bug 9200;
 bugfix on 0.2.0.3-alpha.

Found by coverity scan.
This commit is contained in:
Nick Mathewson
2013-07-03 12:01:37 -04:00
parent 81a5ee77ec
commit 15cd79f832
2 changed files with 7 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
o Major bugfixes:
- Fix a bug in the voting algorithm that could yield incorrect results
when a non-naming authority declared too many flags. Fixes bug 9200;
bugfix on 0.2.0.3-alpha.