diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-06-19 12:38:15 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-06-19 12:38:15 -0400 |
commit | 1160ac1283a076acc6c660827ebeb84a111f27cc (patch) | |
tree | 1a54214bf09d05c9285445aed38f8238bb0b9d0e /src | |
parent | 58e6a6aaebc32683f041925351d8a8101c86abda (diff) | |
download | tor-1160ac1283a076acc6c660827ebeb84a111f27cc.tar.gz tor-1160ac1283a076acc6c660827ebeb84a111f27cc.zip |
Changes file for 19063; use the BUG macro
Diffstat (limited to 'src')
-rw-r--r-- | src/common/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/util.c b/src/common/util.c index 97a7e72763..4b6df81b7d 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -1112,7 +1112,7 @@ tor_digest256_is_zero(const char *digest) if (!next && *endptr) \ goto err; \ /* Illogical (max, min) inputs? */ \ - if (max < min) \ + if (BUG(max < min)) \ goto err; \ /* Is r within limits? */ \ if (r < min || r > max) \ |