[tor-bugs] #22096 [Core Tor/Tor]: Increase MALLOC_MP_LIM in sandbox.c

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Apr 28 14:51:38 UTC 2017


#22096: Increase MALLOC_MP_LIM in sandbox.c
------------------------------+--------------------------------
     Reporter:  nickm         |      Owner:  nickm
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:  Tor: 0.3.1.x-final
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:  Sponsor4      |
------------------------------+--------------------------------
 See diagnosis at comment:15:ticket:21648 .  Now that worker threads can
 malloc a bit more, they can need to mprotect(...PROT_WRITE) larger chunks.
 This requires an increase in MALLOC_MP_LIM.

 In the longer term, we should replace our sandbox's string-interning hack
 with a privileged helper hack.

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


More information about the tor-bugs mailing list