mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 12:23:32 +01:00
07cca627ea
On FreeBSD backtrace(3) uses size_t instead of int (as glibc does). This causes integer precision loss errors when we used int to store its results. The issue is fixed by using size_t to store the results of backtrace(3). The manual page of glibc does not mention that backtrace(3) returns negative values. Therefore, no unsigned integer wrapping occurs when its result is stored in an unsigned data type.
4 lines
130 B
Plaintext
4 lines
130 B
Plaintext
o Minor bugfixes (compilation):
|
|
- Fix backtrace compilation on FreeBSD. Fixes bug 17827; bugfix on
|
|
tor-0.2.5.2-alpha.
|