mirror of https://github.com/wolfSSL/wolfssh.git
Fix mem init error in DoKexDhReply
parent
e646bd141a
commit
c31efcd8ed
|
@ -3460,6 +3460,7 @@ static int DoKexDhReply(WOLFSSH* ssh, byte* buf, word32 len, word32* idx)
|
|||
sigSz = scratch;
|
||||
begin = 0;
|
||||
asnSigSz = sizeof(asnSig);
|
||||
XMEMSET(asnSig, 0, asnSigSz);
|
||||
|
||||
ret = GetStringRef(&rSz, &r, sig, sigSz, &begin);
|
||||
if (ret == WS_SUCCESS)
|
||||
|
|
Loading…
Reference in New Issue