mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-13 06:33:44 +01:00
add another assert to make sure we're not scribbling on the stack.
svn:r5837
This commit is contained in:
parent
cca9a2f7b0
commit
d5acef191c
@ -3568,6 +3568,7 @@ router_reset_descriptor_download_failures(void)
|
|||||||
rs->n_download_failures = 0;
|
rs->n_download_failures = 0;
|
||||||
rs->next_attempt_at = 0;
|
rs->next_attempt_at = 0;
|
||||||
});
|
});
|
||||||
|
tor_assert(networkstatus_list);
|
||||||
SMARTLIST_FOREACH(networkstatus_list, networkstatus_t *, ns,
|
SMARTLIST_FOREACH(networkstatus_list, networkstatus_t *, ns,
|
||||||
SMARTLIST_FOREACH(ns->entries, routerstatus_t *, rs,
|
SMARTLIST_FOREACH(ns->entries, routerstatus_t *, rs,
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user