openssl/crypto/pkcs7
Tomas Mraz f971a9ed58 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)

(cherry picked from commit f2348f1f84)
2024-12-02 09:45:36 +01:00
..
bio_pk7.c Update copyright year 2022-12-01 12:47:05 +01:00
build.info unified build scheme: add build.info files 2016-02-01 12:46:58 +01:00
pk7_asn1.c Update copyright year 2022-12-01 12:47:05 +01:00
pk7_attr.c Fix possible memleak in PKCS7_add0_attrib_signing_time 2023-11-22 09:54:35 +01:00
pk7_doit.c Fix potential memory leak in PKCS7_signatureVerify() 2024-10-07 17:56:24 +02:00
pk7_lib.c Avoid NULL dereference with PKCS7_OP_SET_DETACHED_SIGNATURE 2024-12-02 09:45:36 +01:00
pk7_local.h Add library context and property query support into the PKCS12 API 2021-04-30 09:15:50 +10:00
pk7_mime.c Copyright year updates 2024-01-30 13:20:46 +00:00
pk7_smime.c X509_STORE_CTX_set_default(): improve error handling, also in its use 2022-09-16 10:29:58 +02:00
pkcs7err.c Update copyright year 2021-06-17 13:24:59 +01:00