diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2014-05-06 14:07:37 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2014-05-06 14:09:21 +0100 |
commit | 3dd101aa4df6e873744e41894ff9cfd78b79c129 (patch) | |
tree | 38ce121da8a502f0a445a77bfba7d924fe2449c5 | |
parent | ba44b8d42e6dbe4f95d279b8b6708530de9a5cac (diff) | |
download | openssl-3dd101aa4df6e873744e41894ff9cfd78b79c129.zip openssl-3dd101aa4df6e873744e41894ff9cfd78b79c129.tar.gz openssl-3dd101aa4df6e873744e41894ff9cfd78b79c129.tar.bz2 |
Initialize num properly.
PR#3289
PR#3345
(cherry picked from commit 3ba1e406c2309adb427ced9815ebf05f5b58d155)
-rw-r--r-- | crypto/evp/bio_b64.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/evp/bio_b64.c b/crypto/evp/bio_b64.c index ac6d441..16863fe 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<i; j++) { if (*(q++) != '\n') continue; |