openssl/crypto/cms
Bernd Edlinger 3e3aadd51c Fix a possible memleak in CMS_sign_receipt
When an error happens after cms_encode_Receipt
the ASN1_OCTET_STRING object "os" may be leaked.

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22758)
2023-11-22 09:31:03 +01:00
..
build.info Drop unnecessary checks of OPENSSL_NO_DH, OPENSSL_NO_DSA and OPENSSL_NO_EC 2020-12-16 11:56:38 +01:00
cms_asn1.c crypto: Fix various typos, repeated words, align some spelling to LDP. 2022-10-12 16:55:01 +11:00
cms_att.c Update copyright year 2021-04-08 13:04:41 +01:00
cms_cd.c Convert ZLIB defines to OPENSSL_NO_ZLIB 2022-10-18 09:30:21 -04:00
cms_dd.c Stop raising ERR_R_MALLOC_FAILURE in most places 2022-10-05 14:02:03 +02:00
cms_dh.c Copyright year updates 2023-09-07 09:59:15 +01:00
cms_ec.c Copyright year updates 2023-09-07 09:59:15 +01:00
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 2023-09-07 09:59:15 +01:00
cms_err.c CMS_add1_signer(): add missing ERR_raise() calls 2023-10-17 22:02:29 +02:00
cms_ess.c Stop raising ERR_R_MALLOC_FAILURE in most places 2022-10-05 14:02:03 +02:00
cms_io.c Stop raising ERR_R_MALLOC_FAILURE in most places 2022-10-05 14:02:03 +02:00
cms_kari.c cms: remove TODOs 2021-06-02 16:30:15 +10:00
cms_lib.c Copyright year updates 2023-09-07 09:59:15 +01:00
cms_local.h Copyright year updates 2023-09-07 09:59:15 +01:00
cms_pwri.c Stop raising ERR_R_MALLOC_FAILURE in most places 2022-10-05 14:02:03 +02:00
cms_rsa.c free oaep label-octet-string on error 2023-10-30 07:59:06 +00:00
cms_sd.c CMS and PKCS7: fix handlling of EVP_PKEY_get_size() failure 2023-10-26 16:03:48 +01:00
cms_smime.c Fix a possible memleak in CMS_sign_receipt 2023-11-22 09:31:03 +01:00