[or-cvs] r12174: Fix null-pointer dereference in set_current_consensus. (in tor/trunk: . src/or)
nickm at seul.org
nickm at seul.org
Thu Oct 25 03:29:11 UTC 2007
Author: nickm
Date: 2007-10-24 23:29:11 -0400 (Wed, 24 Oct 2007)
New Revision: 12174
Modified:
tor/trunk/
tor/trunk/src/or/networkstatus.c
Log:
r16130 at catbus: nickm | 2007-10-24 23:28:00 -0400
Fix null-pointer dereference in set_current_consensus.
Property changes on: tor/trunk
___________________________________________________________________
svk:merge ticket from /tor/trunk [r16130] on 8246c3cf-6607-4228-993b-4d95d33730f1
Modified: tor/trunk/src/or/networkstatus.c
===================================================================
--- tor/trunk/src/or/networkstatus.c 2007-10-25 03:13:51 UTC (rev 12173)
+++ tor/trunk/src/or/networkstatus.c 2007-10-25 03:29:11 UTC (rev 12174)
@@ -1301,7 +1301,8 @@
}
if (dirserver_mode(get_options()))
- dirserv_set_cached_networkstatus_v3(consensus, c->valid_after);
+ dirserv_set_cached_networkstatus_v3(consensus,
+ current_consensus->valid_after);
router_dir_info_changed();
More information about the tor-commits
mailing list