[tor-bugs] #10116 [Tor]: Avoid memory allocation in OOM handler
Tor Bug Tracker & Wiki
blackhole at torproject.org
Wed Aug 20 18:30:02 UTC 2014
#10116: Avoid memory allocation in OOM handler
-----------------------------+-----------------------------------------
Reporter: nickm | Owner:
Type: enhancement | Status: needs_review
Priority: normal | Milestone: Tor: 0.2.6.x-final
Component: Tor | Version:
Resolution: | Keywords: tor-relay oom 026-triaged-1
Actual Points: | Parent ID:
Points: |
-----------------------------+-----------------------------------------
Comment (by nickm):
> In circuit_close_all_marked(), what updates global_circuitlist_idx on
the circuit formerly at the tail of the list that gets swapped into the
slot freed by SMARTLIST_DEL_CURRENT?
Good catch. I've added a fixup commit as
c4732eb0c4c5a0df2998d4b4820d376ed8610342. Better now?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/10116#comment:10>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list