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:10:23 +0000 (18:10 -0400)
commitd0666f289ac013094bbbf547bfbcd616199b7d2d
tree89b91afd76654c194af55ce11871e38f77a1bb1f
parentd8afda60a991791f27cfac79186b1f8a4f4e30a0
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