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>
Fri, 3 Feb 2023 11:38:44 +0000 (12:38 +0100)
commit934a04f0e775309cadbef0aa6b9692e1b12a76c6
tree968c207e289713ed2201a05278773ce48eb952e5
parentf596ec8a6f9f5fcfa8e46a73b60f78a609725294
Do not dereference PKCS7 object data if not set

Fixes CVE-2023-0216

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Paul Dale <pauli@openssl.org>
crypto/pkcs7/pk7_lib.c