Fix crash bug (3361) when setting off-flavor networkstatus

When we set a networkstatus in the non-preferred flavor, we'd check
the time in the current_consensus.  But that might have been NULL,
which could produce a crash as seen in bug 3361.
This commit is contained in:
Nick Mathewson
2011-06-07 14:46:28 -04:00
parent d25d08dc4d
commit d696bd1bfc
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -0,0 +1,4 @@
o Major bugfixes:
- Fix a crash bug that could occur when setting a consensus in a
non-used flavor without having a current consensus set. Fixes bug
3361; bugfix on 0.2.3.1-alpha.