mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
65575b0755
When clearing a list of tokens, it's important to do token_clear() on them first, or else any keys they contain will leak. This didn't leak memory on any of the successful microdescriptor parsing paths, but it does leak on some failing paths when the failure happens during tokenization. Fixes bug 11618; bugfix on 0.2.2.6-alpha.
6 lines
265 B
Plaintext
6 lines
265 B
Plaintext
o Major bugfixes (security, OOM)
|
|
- Fix a memory leak that could occur if a microdescriptor parse
|
|
fails during the tokenizing step. This could enable a memory
|
|
exhaustion attack by directory servers. Fixes bug #11649; bugfix
|
|
on 0.2.2.6-alpha.
|