Fix coverity issues in X509v3_addr
authorslontis <shane.lontis@oracle.com>
Thu, 17 Nov 2022 01:58:36 +0000 (11:58 +1000)
committerTomas Mraz <tomas@openssl.org>
Mon, 21 Nov 2022 11:41:25 +0000 (12:41 +0100)
commit26cfa4cd85f6b26dd7a48c2ff06bfa4a2cea4764
treeeaea071830b10054cf9f98123d2a1b60f83f1a50
parent4741c80c0556653c74252ec91425dcb74066b2ec
Fix coverity issues in X509v3_addr

CID 1516955 : Null pointer deref (REVERSE_INULL)
CID 1516954 : Null pointer deref (REVERSE_INULL)
CID 1516953 : RESOURCE_LEAK of child

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19700)
crypto/x509/v3_addr.c
test/v3ext.c