mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
04f21f0322
The abort handler masks the exit status of the backtrace generator by capturing the abort signal from the backtrace handler and exiting with zero. Because the output of the backtrace generator is meant to be piped to `bt_test.py`, its exit status is unimportant and is currently ignored. The abort handler calls `exit(3)` which is not asynchronous-signal-safe and calling it in this context is undefined behavior [0]. Closes ticket 21026. [0] https://www.securecoding.cert.org/confluence/x/34At
4 lines
171 B
Plaintext
4 lines
171 B
Plaintext
o Minor bugfixes (testing):
|
|
- Remove undefined behavior from the backtrace generator by removing
|
|
its signal handler. Fixes bug 21026; bugfix on 0.2.5.2-alpha.
|