add a little note about matt's 0.2.0.12-alpha crash

svn:r12918
This commit is contained in:
Roger Dingledine 2007-12-22 05:26:36 +00:00
parent a223f5db03
commit 869858bf57

View File

@ -2381,6 +2381,8 @@ routerlist_remove_old(routerlist_t *rl, signed_descriptor_t *sd, int idx)
idx = sd->routerlist_index; idx = sd->routerlist_index;
} }
tor_assert(0 <= idx && idx < smartlist_len(rl->old_routers)); tor_assert(0 <= idx && idx < smartlist_len(rl->old_routers));
/* XXX020 edmanm's bridge relay triggered the following assert while
* running 0.2.0.12-alpha: */
tor_assert(smartlist_get(rl->old_routers, idx) == sd); tor_assert(smartlist_get(rl->old_routers, idx) == sd);
tor_assert(idx == sd->routerlist_index); tor_assert(idx == sd->routerlist_index);