mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 22:58:50 +01:00
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.
5 lines
233 B
Text
5 lines
233 B
Text
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.
|
|
|