[tor-bugs] #7087 [Tor]: memory leaks in new channel code

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Mon Oct 15 18:39:57 UTC 2012


#7087: memory leaks in new channel code
-----------------------+----------------------------------------------------
 Reporter:  arma       |          Owner:                    
     Type:  defect     |         Status:  needs_review      
 Priority:  normal     |      Milestone:  Tor: 0.2.4.x-final
Component:  Tor        |        Version:                    
 Keywords:  tor-relay  |         Parent:                    
   Points:             |   Actualpoints:                    
-----------------------+----------------------------------------------------

Comment(by andrea):

 The channel_listener_t leak is caused by
 channel_tls_listener_close_method() unsetting channel_tls_listener so tbat
 channel_tls_free_all() then calls channel_listener_free() with NULL; fix
 is to cache the original value of channel_tls_listener.  See patch in my
 bug7087 branch now.

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


More information about the tor-bugs mailing list