mirror of https://github.com/wolfSSL/wolfssh.git
parent
a8a443214b
commit
90d5d44910
|
|
@ -437,6 +437,7 @@ static int CheckPasswordUnix(const char* usr, const byte* pw, word32 pwSz, WOLFS
|
|||
WFREE(pwStr, NULL, DYNTYPE_STRING);
|
||||
}
|
||||
if (storedHashCpy != NULL) {
|
||||
ForceZero(storedHashCpy, (word32)WSTRLEN(storedHashCpy) + 1);
|
||||
WFREE(storedHashCpy, NULL, DYNTYPE_STRING);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue