diff options
author | Roger Dingledine <arma@torproject.org> | 2006-01-17 04:14:04 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2006-01-17 04:14:04 +0000 |
commit | d5acef191c2d20cf30cd6ea8379da6972b426f1b (patch) | |
tree | be2ebe8fc902f0619522a79b8a3bf295306bca25 | |
parent | cca9a2f7b032ce3908dfff95db0307276ed1bb13 (diff) | |
download | tor-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.c | 1 |
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, { |