mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
e0b7598833
When I fixed #11243, I made it so we would take the digest of a descriptor before tokenizing it, so we could desist from download attempts if parsing failed. But when I did that, I didn't remove an assertion that the descriptor began with "onion-key". Usually, this was enforced by "find_start_of_next_microdescriptor", but when find_start_of_next_microdescriptor returned NULL, the assertion was triggered. Fixes bug 16400. Thanks to torkeln for reporting and cypherpunks_backup for diagnosing and writing the first fix here.
6 lines
256 B
Plaintext
6 lines
256 B
Plaintext
o Major bugfixes:
|
|
- Do not crash with an assertion error when parsing certain kinds
|
|
of malformed or truncated microdescriptors. Fixes bug 16400;
|
|
bugfix on 0.2.6.1-alpha. Found by "torkeln"; fix based on a patch by
|
|
"cypherpunks_backup".
|