From: Dr. Stephen Henson Date: Tue, 6 May 2014 13:07:37 +0000 (+0100) Subject: Initialize num properly. X-Git-Tag: OpenSSL_1_0_1h~61 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a41d5174e27c99d1caefd76a8e927c814ede509e;p=oweals%2Fopenssl.git Initialize num properly. PR#3289 PR#3345 (cherry picked from commit 3ba1e406c2309adb427ced9815ebf05f5b58d155) --- diff --git a/crypto/evp/bio_b64.c b/crypto/evp/bio_b64.c index ac6d441aad..16863fe23f 100644 --- a/crypto/evp/bio_b64.c +++ b/crypto/evp/bio_b64.c @@ -226,6 +226,7 @@ static int b64_read(BIO *b, char *out, int outl) else if (ctx->start) { q=p=(unsigned char *)ctx->tmp; + num = 0; for (j=0; j