aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-01-17 04:14:04 +0000
committerRoger Dingledine <arma@torproject.org>2006-01-17 04:14:04 +0000
commitd5acef191c2d20cf30cd6ea8379da6972b426f1b (patch)
treebe2ebe8fc902f0619522a79b8a3bf295306bca25
parentcca9a2f7b032ce3908dfff95db0307276ed1bb13 (diff)
downloadtor-d5acef191c2d20cf30cd6ea8379da6972b426f1b.tar.gz
tor-d5acef191c2d20cf30cd6ea8379da6972b426f1b.zip
add another assert to make sure we're not scribbling on the stack.
svn:r5837
-rw-r--r--src/or/routerlist.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index 387df36fae..46d8ab20d5 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -3568,6 +3568,7 @@ router_reset_descriptor_download_failures(void)
rs->n_download_failures = 0;
rs->next_attempt_at = 0;
});
+ tor_assert(networkstatus_list);
SMARTLIST_FOREACH(networkstatus_list, networkstatus_t *, ns,
SMARTLIST_FOREACH(ns->entries, routerstatus_t *, rs,
{