Opened 2 years ago

Closed 2 years ago

#22096 closed defect (fixed)

Increase MALLOC_MP_LIM in sandbox.c

Reported by: nickm Owned by: nickm
Priority: Medium Milestone: Tor: 0.3.1.x-final
Component: Core Tor/Tor Version:
Severity: Normal Keywords:
Cc: Actual Points: .5
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.

Child Tickets

Change History (2)

comment:1 Changed 2 years ago by nickm

531835f5611994def74d790f43df01d828724513 fixes this in my ticket21648 branch.

comment:2 Changed 2 years ago by nickm

Actual Points: .5
Resolution: fixed
Status: newclosed
  hitting it with a hammer -- $5
  figuring out where to hit it -- $995
Note: See TracTickets for help on using tickets.