#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
_______________________________________________
tor-bugs mailing list
[email protected]
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs