mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 13:13:44 +01:00
32b9edeb91
In the Linux kernel, the BUG() macro causes an instant panic. Our BUG() macro is different, however: it generates a nonfatal assertion failure, and is usable as an expression. Additionally, this patch tells util_bug.h to make all assertion failures into fatal conditions when we're building with a static analysis tool, so that the analysis tool can look for instances where they're reachable. Fixes bug 23030.
8 lines
356 B
Plaintext
8 lines
356 B
Plaintext
o Minor bugfixes (coverity builds):
|
|
- Avoid Coverity build warnings related to our BUG() macro. By
|
|
default, Coverity treats BUG() as the Linux kernel does: an
|
|
instant abort(). We need to override that so our BUG() macro
|
|
doesn't prevent Coverity from analyzing functions that use it.
|
|
Fixes bug 23030; bugfix on 0.2.9.1-alpha.
|
|
|