mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 13:13:44 +01:00
Merge branch 'trove-2017-012_030' into maint-0.3.0
This commit is contained in:
commit
d459c08b7d
5
changes/trove-2017-012-part2
Normal file
5
changes/trove-2017-012-part2
Normal file
@ -0,0 +1,5 @@
|
||||
o Major bugfixes (security, relay):
|
||||
- When running as a relay, make sure that we never ever choose ourselves
|
||||
as a guard. Previously, this was possible. Fixes part of bug 21534;
|
||||
bugfix on 0.3.0.1-alpha. This issue is also tracked as TROVE-2017-012
|
||||
and CVE-2017-8822.
|
@ -740,7 +740,8 @@ node_is_possible_guard(const node_t *node)
|
||||
node->is_stable &&
|
||||
node->is_fast &&
|
||||
node->is_valid &&
|
||||
node_is_dir(node));
|
||||
node_is_dir(node) &&
|
||||
!router_digest_is_me(node->identity));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user