Initialize num properly.
PR#3289
PR#3345
(cherry picked from commit 3ba1e406c2
)
This commit is contained in:
parent
1047b8c84d
commit
7169e56d6b
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue