diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-04-15 14:16:23 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-04-15 14:16:23 -0400 |
commit | 802ac8ad618a0674c26bb973a2277e07b20f8c7b (patch) | |
tree | af82ab1a01d839e81604dcb46551ff18f52dbd7b /changes/bug30189 | |
parent | 9f3f99938e441c09c1b3bf64510b8fb682dba007 (diff) | |
download | tor-802ac8ad618a0674c26bb973a2277e07b20f8c7b.tar.gz tor-802ac8ad618a0674c26bb973a2277e07b20f8c7b.zip |
Use a tor_abort_() wrapper in our util_bug.h macros
Previously, our use of abort() would break anywhere that we didn't
include stdlib.h. This was especially troublesome in case where
tor_assert_nonfatal() was used with ALL_BUGS_ARE_FATAL, since that
one seldom gets tested.
As an alternative, we could have just made this header include
stdlib.h. But that seems bloaty.
Fixes bug 30189; bugfix on 0.3.4.1-alpha.
Diffstat (limited to 'changes/bug30189')
-rw-r--r-- | changes/bug30189 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/changes/bug30189 b/changes/bug30189 new file mode 100644 index 0000000000..f8c932a5f9 --- /dev/null +++ b/changes/bug30189 @@ -0,0 +1,4 @@ + o Minor bugfixes (compilation, unusual configuration): + - Avoid failures when building with ALL_BUGS_ARE_FAILED due to + missing declarations of abort(), and prevent other such failures + in the future. Fixes bug 30189; bugfix on 0.3.4.1-alpha. |