[tor-bugs] #23551 [Core Tor/Tor]: src/common/compress.c:576: tor_compress_process: Non-fatal assertion
Tor Bug Tracker & Wiki
blackhole at torproject.org
Fri Sep 22 13:02:41 UTC 2017
#23551: src/common/compress.c:576: tor_compress_process: Non-fatal assertion
--------------------------+------------------------------------
Reporter: cypherpunks | Owner: (none)
Type: defect | Status: new
Priority: High | Milestone: Tor: 0.3.1.x-final
Component: Core Tor/Tor | Version: Tor: 0.3.1.5-alpha
Severity: Normal | Resolution:
Keywords: | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
--------------------------+------------------------------------
Comment (by teor):
It wouldn't surprise me if we have a zstd version incompatibility here. Or
maybe truncated input data?
Truncated input data would definitely explain why zstd can't make any
progress, but isn't returning an error code. In that case, it's our fault
for not giving zstd enough data to work with. (And not failing the loop
quietly?)
Because if it were corrupt data, it really should return an error:
http://facebook.github.io/zstd/zstd_manual.html#Chapter9
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/23551#comment:7>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list