add another assert to make sure we're not scribbling on the stack.

svn:r5837
This commit is contained in:
Roger Dingledine 2006-01-17 04:14:04 +00:00
parent cca9a2f7b0
commit d5acef191c

View File

@ -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,
{