Defensive programming: clear rs_out between iterations.

I can't currently find a bug here, but there are a couple of
near-misses.  Addresses ticket 6514; reported pseudonymously on
IRC.
This commit is contained in:
Nick Mathewson
2012-08-01 17:25:34 -04:00
parent 122c8efb09
commit 2d6d5db2fe
2 changed files with 6 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
o Minor bugfixes:
- Add a (probably redundant) memory clear between iterations of
the router status voting loop, to prevent future coding errors
where data might leak between iterations of the loop. Resolves
ticket 6514.