[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #22672 [Core Tor/Tor]: Defensive programming: ensure no infinite COMPRESS_OK loops
#22672: Defensive programming: ensure no infinite COMPRESS_OK loops
------------------------------+--------------------------------
Reporter: nickm | Owner:
Type: defect | Status: new
Priority: Medium | Milestone: Tor: 0.3.1.x-final
Component: Core Tor/Tor | Version:
Severity: Normal | Keywords:
Actual Points: | Parent ID:
Points: | Reviewer:
Sponsor: |
------------------------------+--------------------------------
There's a possible failure mode if we've screwed up in our compression
backends: we might say "COMPRESS_OK" over and over, while not making any
progress. The changes I'm suggesting in #22629 turn this possible bug
into a possible infinite loop.
I don't think this failure mode actually exists today, but let's prevent
it anyway, by treating a COMPRESS_OK that makes no progress as if it were
an error, and a BUG.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/22672>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs