[tor-bugs] #2206 [Polipo]: polipo will dereference NULL on failed malloc

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Sun Nov 21 06:15:20 UTC 2010


#2206: polipo will dereference NULL on failed malloc
----------------------+-----------------------------------------------------
 Reporter:  meyering  |        Type:  defect
   Status:  new       |    Priority:  normal
Milestone:            |   Component:  Polipo
  Version:            |    Keywords:        
   Parent:            |  
----------------------+-----------------------------------------------------
 due to a typo in a post-malloc check, when malloc returns NULL, that
 pointer is dereferenced.

 This is present in the latest from git, i.e.,
 b92db574c11961f681fa258314bd7470e4449cc0 in
 git://git.torproject.org/git/polipo

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


More information about the tor-bugs mailing list