[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #28816 [Core Tor/Tor]: Log a bug for uncompressed data on a compressed connection
#28816: Log a bug for uncompressed data on a compressed connection
-------------------------+-------------------------------------------------
Reporter: teor | Owner: (none)
Type: defect | Status: new
Priority: Medium | Milestone: Tor: unspecified
Component: Core | Version:
Tor/Tor |
Severity: Normal | Keywords: technical-debt, tor-dir, tor-bwauth
Actual Points: | Parent ID:
Points: | Reviewer:
Sponsor: |
-------------------------+-------------------------------------------------
In #21377, we discovered that it is easy to set the compression state on a
connection, but add uncompressed data to that connection.
We should log a bug warning when:
* conn->compress_state is not NULL, and connection_buf_add() is called
* conn->compress_state is NULL, and connection_buf_add_compress() is
called
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/28816>
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