summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/objects/obj_xref.c
diff options
context:
space:
mode:
authortb <>2024-01-25 13:44:08 +0000
committertb <>2024-01-25 13:44:08 +0000
commit26fee542e65d530cdacb9282bf510602c1e2b5fd (patch)
tree9d0ddeedac76c50676cebd46c11f193ae4afaa82 /src/lib/libcrypto/objects/obj_xref.c
parent7b054f5ebd9c9a69573a9698ba3ef9e1a6677d0a (diff)
downloadopenbsd-26fee542e65d530cdacb9282bf510602c1e2b5fd.tar.gz
openbsd-26fee542e65d530cdacb9282bf510602c1e2b5fd.tar.bz2
openbsd-26fee542e65d530cdacb9282bf510602c1e2b5fd.zip
Fix various NULL dereferences in PKCS #12
The PKCS #7 ContentInfo has a mandatory contentType, but the content itself is OPTIONAL. Various unpacking API assumed presence of the content type is enough to access members of the content, resulting in crashes. Reported by Bahaa Naamneh on libressl-security, many thanks ok jsing
Diffstat (limited to 'src/lib/libcrypto/objects/obj_xref.c')
0 files changed, 0 insertions, 0 deletions