mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-01-27 16:32:20 +01:00
Fix for scan-build issues with possible use of null’s in evp.c wolfSSL_EVP_CipherFinal out arg and DoCertificate args->certs. Removed obsolete client example help arg “-t”.
This commit is contained in:
@@ -6809,6 +6809,7 @@ static int DoCertificate(WOLFSSL* ssl, byte* input, word32* inOutIdx,
|
||||
if (args->certs == NULL) {
|
||||
ERROR_OUT(MEMORY_E, exit_dc);
|
||||
}
|
||||
XMEMSET(args->certs, 0, sizeof(buffer) * MAX_CHAIN_DEPTH);
|
||||
|
||||
if ((args->idx - args->begin) + OPAQUE24_LEN > size) {
|
||||
ERROR_OUT(BUFFER_ERROR, exit_dc);
|
||||
|
||||
Reference in New Issue
Block a user