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

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



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