[openssl/openssl] 7379e7: Fix a possible memleak in CMS_sign_receipt
Bernd Edlinger
noreply at github.com
Wed Nov 22 08:35:09 UTC 2023
Branch: refs/heads/openssl-3.1
Home: https://github.com/openssl/openssl
Commit: 7379e71a698bc296942cf558222853b1a85e2711
https://github.com/openssl/openssl/commit/7379e71a698bc296942cf558222853b1a85e2711
Author: Bernd Edlinger <bernd.edlinger at hotmail.de>
Date: 2023-11-22 (Wed, 22 Nov 2023)
Changed paths:
M crypto/cms/cms_smime.c
Log Message:
-----------
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 at oracle.com>
Reviewed-by: Tim Hudson <tjh at openssl.org>
Reviewed-by: Richard Levitte <levitte at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22758)
(cherry picked from commit 3e3aadd51cae1fbfb512cf4a0999d16c6a2888bd)
More information about the openssl-commits
mailing list