openssl/crypto/pkcs7
Tomas Mraz f2348f1f84 Avoid NULL dereference with PKCS7_OP_SET_DETACHED_SIGNATURE
We would dereference p7->d.sign pointer which can be NULL.

Reported by Han Zheng.

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/26078)
2024-12-02 09:44:58 +01:00
..
bio_pk7.c pkcs7: Remove unused includes 2022-11-10 08:11:57 +11:00
build.info
pk7_asn1.c crypto/*: Fix various typos, repeated words, align some spelling to LDP. 2022-10-12 16:55:01 +11:00
pk7_attr.c Copyright year updates 2024-09-05 09:35:49 +02:00
pk7_doit.c Use sk_X509_ATTRIBUTE_deep_copy() to copy attribute stacks in pk7_doit.c 2024-11-28 15:27:08 +01:00
pk7_lib.c Avoid NULL dereference with PKCS7_OP_SET_DETACHED_SIGNATURE 2024-12-02 09:44:58 +01:00
pk7_local.h Copyright year updates 2024-09-05 09:35:49 +02:00
pk7_mime.c Copyright year updates 2024-04-09 13:43:26 +02:00
pk7_smime.c {CMS,PKCS7}_verify(): use 'certs' parameter ('-certfile' option) also for chain building 2024-07-17 16:34:53 +02:00
pkcs7err.c