[tor-bugs] #23774 [Core Tor/Tor]: sched: KIST doesn't free the socket info hashtable on free_all()
Tor Bug Tracker & Wiki
blackhole at torproject.org
Tue Oct 17 17:42:05 UTC 2017
#23774: sched: KIST doesn't free the socket info hashtable on free_all()
-----------------------------+------------------------------------
Reporter: dgoulet | Owner: (none)
Type: defect | Status: needs_review
Priority: Medium | Milestone: Tor: 0.3.2.x-final
Component: Core Tor/Tor | Version:
Severity: Normal | Resolution:
Keywords: tor-sched, easy | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
-----------------------------+------------------------------------
Changes (by nickm):
* status: new => needs_review
Comment:
Which hashtable do you mean? The outbuf_table hashtable is stack-
allocated, and shouldn't be freed. The socket_table hashtable is static,
and shouldn't be freed.
I think instead we should HT_CLEAR() the socket_table hashtable. How
about this: `bug23774_032` ?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/23774#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list