diff options
author | Gregory Maxwell <greg@xiph.org> | 2013-12-02 11:33:44 -0800 |
---|---|---|
committer | Gregory Maxwell <greg@xiph.org> | 2013-12-02 11:33:44 -0800 |
commit | 9b59e3bda8c137bff885db5b1f9150346e36e076 (patch) | |
tree | b00689d36050d3c2f301329a863234c510546b88 /contrib/bitrpc/bitrpc.py | |
parent | 9ab7a0609ee920b1095235bc7460c9c0b60acf29 (diff) |
Sanitize assert usage and refuse to compile with NDEBUG.
There were quite a few places where assert() was used with side effects,
making operation with NDEBUG non-functional. This commit fixes all the
cases I know about, but also adds an #error on NDEBUG because the code
is untested without assertions and may still have vulnerabilities if
used without assert.
Diffstat (limited to 'contrib/bitrpc/bitrpc.py')
0 files changed, 0 insertions, 0 deletions