Do not dereference PKCS7 object data if not set
authorTomas Mraz <tomas@openssl.org>
Mon, 16 Jan 2023 18:45:23 +0000 (19:45 +0100)
committerTomas Mraz <tomas@openssl.org>
Tue, 7 Feb 2023 16:05:10 +0000 (17:05 +0100)
commit80253dbdc92bec584f4a9866b43f8674156d838a
tree74fd5cc66028aae230aaf6c57aae10a9cb5f9b6d
parent625faca931957719c76fb16094cf5b6e0debe23f
Do not dereference PKCS7 object data if not set

Fixes CVE-2023-0216

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
crypto/pkcs7/pk7_lib.c