mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
86819229af
This avoids performing and then freeing a lot of small mallocs() if the hash line has too many elements. Fixes one case of bug 40472; resolves OSS-Fuzz 38363. Bugfix on 0.3.1.1-alpha when the consdiff parsing code was introduced.
7 lines
393 B
Plaintext
7 lines
393 B
Plaintext
o Minor bugfixes (performance, DoS):
|
|
- Fix one case of a not-especially viable denial-of-service attack found
|
|
by OSS-Fuzz in our consensus-diff parsing code. This attack causes a
|
|
lot small of memory allocations and then immediately frees them: this
|
|
is only slow when running with all the sanitizers enabled. Fixes one
|
|
case of bug 40472; bugfix on 0.3.1.1-alpha.
|