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:15:43 +0000 (18:15 -0400)
commit84fe686173d519dfee5d264272beab666508fc57
tree71cfafb887322b789e12d39b8ed8aeb098fa7c17
parent44ea88c26eea8b01d88fcf37ff5abd786e2f7e8b
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