Fix up size and sign issues in base32 code
[tor/rransom.git] / changes / bug2331
blobdf97ac2b4549a6dd14bc392e128dc7d52aba47d1
1   o Minor bugfixes:
2     - Add assertions to check for overflow in arguments to
3       base32_encode and base32_decode; fix a signed-unsigned
4       comparison there too.  These bugs are actually reachable in Tor,
5       but it's good to prevent future errors too.  Found by doorss.