mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 15:43:32 +01:00
Fix a crash bug introduced in 223d354e3
.
Arma found this and commented on #11243. Bug not in any released version of Tor.
This commit is contained in:
parent
1ce57267b4
commit
f5fc7e3306
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user