mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 10:47:28 +02:00
help out static analyizer and memset buffer created
This commit is contained in:
@ -41554,6 +41554,7 @@ cleanup:
|
|||||||
pem = (unsigned char*)XMALLOC(l, 0, DYNAMIC_TYPE_PEM);
|
pem = (unsigned char*)XMALLOC(l, 0, DYNAMIC_TYPE_PEM);
|
||||||
if (pem == NULL)
|
if (pem == NULL)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
XMEMSET(pem, 0, l);
|
||||||
|
|
||||||
i = 0;
|
i = 0;
|
||||||
if (wc_PemGetHeaderFooter(type, NULL, &footer) != 0) {
|
if (wc_PemGetHeaderFooter(type, NULL, &footer) != 0) {
|
||||||
|
Reference in New Issue
Block a user