forked from wolfSSL/wolfssl
Fix for report of Use of memory after it is freed
. Force the dataIsAlloc
set to 0.
This commit is contained in:
@@ -3278,6 +3278,7 @@ static int RsaPrivateDecryptEx(const byte* in, word32 inLen, byte* out,
|
||||
XMEMCPY(key->data, in, inLen);
|
||||
}
|
||||
else {
|
||||
key->dataIsAlloc = 0;
|
||||
key->data = out;
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user