mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 23:53:32 +01:00
9328bd524e
If COMPRESS_OK occurs but data is neither consumed nor generated, treat it as a BUG and a COMPRESS_ERROR. This change is meant to prevent infinite loops in the case where we've made a mistake in one of our compression backends. Closes ticket 22672.
6 lines
233 B
Plaintext
6 lines
233 B
Plaintext
o Minor features (compression, defensive programming):
|
|
- Detect and break out of infinite loops in our compression code.
|
|
We don't think that any such loops exist now, but it's best to be
|
|
safe. Closes ticket 22672.
|
|
|