mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 14:51:11 +01:00
Merge branch 'trove-2017-012_025' into maint-0.2.5
This commit is contained in:
commit
f49876d66e
2 changed files with 10 additions and 1 deletions
6
changes/trove-2017-012-part1
Normal file
6
changes/trove-2017-012-part1
Normal file
|
@ -0,0 +1,6 @@
|
|||
o Major bugfixes (security, relay):
|
||||
- When running as a relay, make sure that we never build a path through
|
||||
ourselves, even in the case where we have somehow lost the version of
|
||||
our descriptor appearing in the consensus. Fixes part of bug 21534;
|
||||
bugfix on 0.2.0.1-alpha. This issue is also tracked as TROVE-2017-012
|
||||
and CVE-2017-8822.
|
|
@ -2411,7 +2411,10 @@ router_choose_random_node(smartlist_t *excludedsmartlist,
|
|||
});
|
||||
}
|
||||
|
||||
if ((r = routerlist_find_my_routerinfo()))
|
||||
/* If the node_t is not found we won't be to exclude ourself but we
|
||||
* won't be able to pick ourself in router_choose_random_node() so
|
||||
* this is fine to at least try with our routerinfo_t object. */
|
||||
if ((r = router_get_my_routerinfo()))
|
||||
routerlist_add_node_and_family(excludednodes, r);
|
||||
|
||||
router_add_running_nodes_to_smartlist(sl, allow_invalid,
|
||||
|
|
Loading…
Add table
Reference in a new issue