mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 13:13:44 +01:00
85659d3964
Our implementation of parse_short_policy was screwed up: it would ignore the last character of every short policy. Obviously, that's broken. This patch fixes the busted behavior, and adds a bunch of unit tests to make sure the rest of that function is okay. Fixes bug 7192; fix on 0.2.3.1-alpha.
11 lines
548 B
Plaintext
11 lines
548 B
Plaintext
o Major bugfixes:
|
|
- When parsing exit policy summaries from microdescriptors, we had
|
|
previously been ignoring the last character in each one, so that
|
|
"accept 80,443,8080" would be treated by clients as indicating a
|
|
node that allows access to ports 80, 443, and 808. That would lead
|
|
to clients attempting connections that could never work, and
|
|
ignoring exit nodes that would support their connections. Now clients
|
|
parse these exit policy summaries correctly. Fixes bug 7192;
|
|
bugfix on 0.2.3.1-alpha.
|
|
|