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 21:52:19 +0000 (17:52 -0400)
commitfce3821111e3307a599d2378f2cca2ef2097c6c4
tree55b7368f09edbc95403d38f3aa5ebbd276875722
parent12e9f627f9dd9a9f75d4a7beb6baf30a3697d8e0
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