mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 13:13:44 +01:00
18a98206ed
- Make sure we check at least two guards for descriptor before making circuits. We typically use the first primary guard for circuits, but it can also happen that we use the second primary guard (e.g. if we pick our first primary guard as an exit), so we should make sure we have descriptors for both of them. - Remove BUG() from the guard_has_descriptor() check since we now know that this can happen in rare but legitimate situations as well, and we should just move to the next guard in that case.
5 lines
227 B
Plaintext
5 lines
227 B
Plaintext
o Minor bugfix (entry guards):
|
|
- Silence a BUG() warning when attempting to use a guard whose descriptor
|
|
we don't know and make this scenario more unlikely to happen. Fixes bug
|
|
21415; bugfix on 0.3.0.1-alpha.
|