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

Re: [tor-bugs] #11476 [Tor]: Try making all memory pool and freelist code off by default, or clear-on-alloc



#11476: Try making all memory pool and freelist code off by default, or clear-on-
alloc
------------------------+----------------------------------------------
     Reporter:  nickm   |      Owner:  andrea
         Type:  defect  |     Status:  needs_revision
     Priority:  normal  |  Milestone:  Tor: 0.2.5.x-final
    Component:  Tor     |    Version:
   Resolution:          |   Keywords:  tor-relay, security, 025-triaged
Actual Points:          |  Parent ID:
       Points:          |
------------------------+----------------------------------------------

Comment (by andrea):

 Replying to [comment:9 nickm]:
 > Suggestion:
 >
 >  * Rather than scattering ENABLE_MEMPOOLS items through our code, why
 not instead make the code in mempool.h just wrap malloc_zero() and free()
 when we're running in with mempools disabled?  That way, the rest of the
 code stays pretty.

 Okay, will do.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/11476#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