[openssl/openssl] 757d64: Fix a possible memleak in CMS_sign_receipt
Bernd Edlinger
noreply at github.com
Wed Nov 22 08:35:07 UTC 2023
Branch: refs/heads/openssl-3.2
Home: https://github.com/openssl/openssl
Commit: 757d6491ebebc541f54c0aa8043b8e5b31a58a7e
https://github.com/openssl/openssl/commit/757d6491ebebc541f54c0aa8043b8e5b31a58a7e
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