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

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Aug 20 02:01:36 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 Sebastian):

 This comment can go: /* Let's hope there's enough slack space for this
 allocation here... */

 typo in changes file (temporary).

 Looks OK to me otherwise. Converting to a smartlist does make the code a
 bit longer in some places, but not too much imo so I think it's the right
 approach

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


More information about the tor-bugs mailing list