Remove over-cleverness from our coverity BUG() definition.
commitc515dc8d0d17b9ce5e8c4f31ba2bd58c15fb90bf
authorNick Mathewson <nickm@torproject.org>
Fri, 20 Jul 2018 15:18:11 +0000 (20 11:18 -0400)
committerNick Mathewson <nickm@torproject.org>
Fri, 20 Jul 2018 15:19:54 +0000 (20 11:19 -0400)
tree05fe95bf0770a97c121cb75a2e406b757cfce874
parent9ae35975402a823a420cd5efb81a1c3a76f6c4d6
Remove over-cleverness from our coverity BUG() definition.

Our previous definition implied that code would never keep running
if a BUG occurred (which it does), and that BUG(x) might be true
even if x was false (which it can't be).

Closes ticket 26890. Bugfix on 0.3.1.4-alpha.
src/lib/log/util_bug.c
src/lib/log/util_bug.h