[tor-commits] [tor/master] Fix a crash bug introduced in 223d354e3.
nickm at torproject.org
nickm at torproject.org
Sun Oct 26 18:09:32 UTC 2014
commit f5fc7e3306f03c8a304dad89ada2280466d54c9a
Author: Nick Mathewson <nickm at torproject.org>
Date: Sun Oct 26 14:09:03 2014 -0400
Fix a crash bug introduced in 223d354e3.
Arma found this and commented on #11243. Bug not in any released
version of Tor.
---
src/or/routerlist.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index 5748dfd..4d117cb 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -2960,7 +2960,8 @@ extrainfo_insert,(routerlist_t *rl, extrainfo_t *ei))
goto done;
}
if (routerinfo_incompatible_with_extrainfo(ri, ei, sd, NULL)) {
- r = (sd->extrainfo_is_bogus) ? ROUTER_BAD_EI : ROUTER_NOT_IN_CONSENSUS;
+ r = (ri->cache_info.extrainfo_is_bogus) ?
+ ROUTER_BAD_EI : ROUTER_NOT_IN_CONSENSUS;
goto done;
}
More information about the tor-commits
mailing list