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

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



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