openssl/crypto/cms
Daniel Gustafsson 5efc57caf2 Fix memleak in rsa_cms_sign error path
If the call to X509_ALGOR_set0 fails then the allocated ASN1_STRING
variable passed as parameter leaks.  Fix by explicitly freeing like
how all other codepaths with X509_ALGOR_set0 do.

Fixes #22680

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24868)
2024-09-05 17:04:59 +02:00
..
build.info
cms_asn1.c Copyright year updates 2024-09-05 09:35:49 +02:00
cms_att.c Copyright year updates 2024-04-09 13:43:26 +02:00
cms_cd.c
cms_dd.c
cms_dh.c Copyright year updates 2024-09-05 09:35:49 +02:00
cms_ec.c
cms_enc.c cms_enc.c: Include crypto/asn1.h for struct asn1_object_st 2023-10-19 10:15:56 +02:00
cms_env.c Copyright year updates 2024-09-05 09:35:49 +02:00
cms_err.c CMS_add1_signer(): add missing ERR_raise() calls 2023-10-17 22:02:29 +02:00
cms_ess.c
cms_io.c
cms_kari.c
cms_lib.c Copyright year updates 2024-09-05 09:35:49 +02:00
cms_local.h Copyright year updates 2024-09-05 09:35:49 +02:00
cms_pwri.c Copyright year updates 2024-04-09 13:43:26 +02:00
cms_rsa.c Fix memleak in rsa_cms_sign error path 2024-09-05 17:04:59 +02:00
cms_sd.c Copyright year updates 2024-09-05 09:35:49 +02:00
cms_smime.c Copyright year updates 2024-09-05 09:35:49 +02:00