Fix an impossible-in-normal-operation leaks in dirvote

Spotted by coverity; partial fix for 7816; bugfix on 0.2.0.5-alpha.
This commit is contained in:
Nick Mathewson
2012-12-28 23:04:44 -05:00
parent ee1d8dc480
commit f272ee6a20
2 changed files with 15 additions and 9 deletions
+4
View File
@@ -2,3 +2,7 @@
- Avoid leaking IPv6 policy content if we fail to format it into
a router descriptor. Spotted by Coverity. Fixes part of 7816;
bugfix on 0.2.4.7-alpha.
- Avoid leaking memory if we fail to compute a consensus signature
or we generated a consensus we couldn't parse. Spotted by Coverity.
Fixes part of 7816; bugfix on 0.2.0.5-alpha.