]> git.ipfire.org Git - thirdparty/tor.git/commit
Fix crash bug (3361) when setting off-flavor networkstatus
authorNick Mathewson <nickm@torproject.org>
Tue, 7 Jun 2011 18:46:28 +0000 (14:46 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 7 Jun 2011 18:46:28 +0000 (14:46 -0400)
commitd696bd1bfc3b61943ae4a2be8e4a9fcdfeaec246
tree8110dd23bdb1885aabd7661cd31e38a24c17bd70
parentd25d08dc4dceef484206c932648023b36cf3ec7c
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.
changes/bug3361 [new file with mode: 0644]
src/or/networkstatus.c