[tor-bugs] #28816 [Core Tor/Tor]: Log a bug for uncompressed data on a compressed connection

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Dec 11 04:32:58 UTC 2018


#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


More information about the tor-bugs mailing list