[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #20716 [Core Tor/Tor]: memory leak in connection_handle_listener_read()
#20716: memory leak in connection_handle_listener_read()
--------------------------+------------------------------------
Reporter: arma | Owner:
Type: defect | Status: needs_review
Priority: Medium | Milestone: Tor: 0.2.9.x-final
Component: Core Tor/Tor | Version: Tor: 0.2.6.3-alpha
Severity: Normal | Resolution:
Keywords: | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
--------------------------+------------------------------------
Comment (by icanhasaccount):
Heya - I went with current behavior in the patch.
I wonder if it would be worth initializing port to 0 in the declaration?
(the comment in the connection_t struct in or.h suggests this would be
okay).
The other thing is we aren't checking the return code for
tor_addr_from_sockaddr - not sure if this is an issue though..
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/20716#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