[tor-bugs] #17815 [Tor]: [PATCH] eliminate modulo bias in OpenBSD's hardened malloc
Tor Bug Tracker & Wiki
blackhole at torproject.org
Fri Dec 11 12:53:42 UTC 2015
#17815: [PATCH] eliminate modulo bias in OpenBSD's hardened malloc
--------------------+------------------------------------
Reporter: logan | Owner:
Type: defect | Status: needs_revision
Priority: Medium | Milestone: Tor: 0.2.8.x-final
Component: Tor | Version:
Severity: Normal | Resolution:
Keywords: | Actual Points:
Parent ID: | Points:
Sponsor: |
--------------------+------------------------------------
Changes (by logan):
* cc: logan@… (added)
Comment:
Uploading my latest patch. I am hitting a build issue. I don't have any of
the "warning: implicit declaration", as I'm using "crypto.h", but at link
time, it has issues:
src/common/libor.a(OpenBSD_malloc_Linux.o): In function `malloc_bytes':
/home/logan/tor/src/ext/OpenBSD_malloc_Linux.c:1191: undefined reference
to `crypto_rand_int_range'
collect2: error: ld returned 1 exit status
Makefile:2880: recipe for target 'src/tools/tor-resolve' failed
make[1]: *** [src/tools/tor-resolve] Error 1
make[1]: Leaving directory '/home/logan/tor'
Makefile:1868: recipe for target 'all' failed
make: *** [all] Error 2
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/17815#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list