[tor-bugs] #22672 [Core Tor/Tor]: Defensive programming: ensure no infinite COMPRESS_OK loops
Tor Bug Tracker & Wiki
blackhole at torproject.org
Tue Jun 20 16:25:22 UTC 2017
#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
More information about the tor-bugs
mailing list