[tor-bugs] #10116 [Tor]: Avoid memory allocation in OOM handler

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Aug 20 18:44:34 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 andrea):

 Replying to [comment:10 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?

 I think it's okay now.

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


More information about the tor-bugs mailing list