]> git.tuebingen.mpg.de Git - paraslash.git/commit
base64: Remove unnecessary overflow checks.
authorAndre Noll <maan@tuebingen.mpg.de>
Tue, 28 Apr 2015 16:17:42 +0000 (18:17 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Tue, 23 Aug 2016 14:50:42 +0000 (16:50 +0200)
commit673f8dbef56bbe6a09870bdef65966db3f6793a2
treee29b76f02946e5cd945076f6c0a9c74445df9019
parent35fcd604e2ec04f8667c85fa1552932b1a0e6efb
base64: Remove unnecessary overflow checks.

Since we decode no more than encoded_size many bytes, and the output
buffer is allocated large enough to store the decoded data, we won't
ever overflow the output buffer. This commit removes the pointless
checks.
base64.c