mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-01-29 15:02:12 +01:00
address fortify critical issues
This commit is contained in:
@@ -10527,7 +10527,9 @@ int SendCertificate(WOLFSSL* ssl)
|
||||
|
||||
sendSz = BuildMessage(ssl, output, sendSz, input, inputSz,
|
||||
handshake, 1, 0);
|
||||
XFREE(input, ssl->heap, DYNAMIC_TYPE_TMP_BUFFER);
|
||||
|
||||
if (inputSz > 0)
|
||||
XFREE(input, ssl->heap, DYNAMIC_TYPE_TMP_BUFFER);
|
||||
|
||||
if (sendSz < 0)
|
||||
return sendSz;
|
||||
|
||||
Reference in New Issue
Block a user