[tor-bugs] #22626 [Core Tor/Tor]: Missing stream NULL check in tor_compress_impl

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Jun 15 23:41:14 UTC 2017


#22626: Missing stream NULL check in tor_compress_impl
---------------------------+------------------------------------
 Reporter:  teor           |          Owner:
     Type:  defect         |         Status:  new
 Priority:  Medium         |      Milestone:  Tor: 0.3.1.x-final
Component:  Core Tor/Tor   |        Version:  Tor: 0.3.1.1-alpha
 Severity:  Normal         |     Resolution:
 Keywords:  memory-safety  |  Actual Points:
Parent ID:  #22502         |         Points:  1
 Reviewer:                 |        Sponsor:
---------------------------+------------------------------------
Changes (by teor):

 * points:  0.1 => 1
 * parent:   => #22502


Comment:

 Given the number of times we don't check the output of tor_compress_new(),
 we should probably hard assert if it would return NULL, or check in all
 those places, or something?

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/22626#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list