[tor-bugs] #17827 [Tor]: Different return type of backtrace function on FreeBSD
Tor Bug Tracker & Wiki
blackhole at torproject.org
Mon Dec 14 20:44:29 UTC 2015
#17827: Different return type of backtrace function on FreeBSD
---------------------------------------+-----------------------------------
Reporter: cypherpunks | Owner:
Type: defect | Status: new
Priority: Medium | Milestone: Tor:
Component: Tor | 0.2.8.x-final
Severity: Normal | Version:
Keywords: 027-backport freebsd easy | Resolution:
Parent ID: | Actual Points:
Sponsor: | Points:
---------------------------------------+-----------------------------------
Comment (by cypherpunks):
The FreeBSD versions of `backtrace_symbols` and `backtrace_symbols_fd`
also expect their `len` parameter to be `size_t`. So we need to make sure
`depth` is larger than zero to prevent overflow issues.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/17827#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list