[tor-bugs] #20066 [Core Tor/Tor]: Make test-memwipe work better on OpenBSD
Tor Bug Tracker & Wiki
blackhole at torproject.org
Mon Sep 5 22:43:50 UTC 2016
#20066: Make test-memwipe work better on OpenBSD
------------------------------+---------------------
Reporter: rubiate | Owner:
Type: enhancement | Status: new
Priority: Medium | Milestone:
Component: Core Tor/Tor | Version:
Severity: Normal | Keywords: openbsd
Actual Points: | Parent ID:
Points: | Reviewer:
Sponsor: |
------------------------------+---------------------
Where "work" means access freed buffers without exploding.
It currently segfaults 100% of the time but it could be "fixed" by setting
the malloc.conf options in the program to turn off some of the
protections.
's' will turn off malloc canaries (among other things). This stops it
segfaulting. 'c' would do the same thing but would break on releases older
than 5.9 which didn't have that option. 's' also means any new protections
that are enabled by default will be turned off, which might help this keep
working in the future.
Junking has two levels, so it needs 2x 'j' to guarantee it's turned off.
This makes the warning about unreliable results go away.
Freelist and unmap protection aren't on by default but it will crash if it
is, so a 'u' and 'f' will ensure it's off (it does nothing if it's already
off).
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/20066>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list