[openssl/openssl] ed3d27: Fix a possible memleak in PKCS7_add_attrib_smimecap
Bernd Edlinger
noreply at github.com
Wed Nov 22 08:29:06 UTC 2023
Branch: refs/heads/master
Home: https://github.com/openssl/openssl
Commit: ed3d2771278cfa1c355b40c681f5acc8404156c6
https://github.com/openssl/openssl/commit/ed3d2771278cfa1c355b40c681f5acc8404156c6
Author: Bernd Edlinger <bernd.edlinger at hotmail.de>
Date: 2023-11-22 (Wed, 22 Nov 2023)
Changed paths:
M crypto/pkcs7/pk7_attr.c
Log Message:
-----------
Fix a possible memleak in PKCS7_add_attrib_smimecap
When PKCS7_add_signed_attribute fails, the ASN1_STRING
object may be leaked.
Reviewed-by: Neil Horman <nhorman at openssl.org>
Reviewed-by: Shane Lontis <shane.lontis at oracle.com>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Richard Levitte <levitte at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22744)
More information about the openssl-commits
mailing list