mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-11 00:24:42 +02:00
add null check to CRL_Entry_free()
This commit is contained in:
@@ -218,6 +218,10 @@ static void CRL_Entry_free(CRL_Entry* crle, void* heap)
|
|||||||
RevokedCert* next;
|
RevokedCert* next;
|
||||||
|
|
||||||
WOLFSSL_ENTER("FreeCRL_Entry");
|
WOLFSSL_ENTER("FreeCRL_Entry");
|
||||||
|
if (crle == NULL) {
|
||||||
|
WOLFSSL_MSG("CRL Entry is null");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
while (tmp != NULL) {
|
while (tmp != NULL) {
|
||||||
next = tmp->next;
|
next = tmp->next;
|
||||||
|
Reference in New Issue
Block a user