evp: prevent underflow in base64 decoding
authorGeoff Thorpe <geoff@openssl.org>
Sun, 4 May 2014 22:44:14 +0000 (18:44 -0400)
committerGeoff Thorpe <geoff@openssl.org>
Tue, 6 May 2014 22:02:02 +0000 (18:02 -0400)
commit65402586c0d946cb0092f4a291eac60832655098
treeecdd32f4e0631c1e55b0e528fd9890a653d610ca
parentbf43446835bfd3f9abf1898a99ae20f2285320f3
evp: prevent underflow in base64 decoding

This patch resolves RT ticket #2608.

Thanks to Robert Dugal for originally spotting this, and to David
Ramos for noticing that the ball had been dropped.

Signed-off-by: Geoff Thorpe <geoff@openssl.org>
crypto/evp/encode.c