[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs