[openssl/openssl] 13dd77: Fix error handling in CMS_EncryptedData_encrypt
noreply at github.com
Mon Sep 11 08:25:10 UTC 2023
Author: Bernd Edlinger <bernd.edlinger at hotmail.de>
Date: 2023-09-11 (Mon, 11 Sep 2023)
Fix error handling in CMS_EncryptedData_encrypt
That caused several memory leaks in case of error.
Also when the CMS object that is created by CMS_EncryptedData_encrypt
is not used in the normal way, but instead just deleted
by CMS_ContentInfo_free some memory was lost.
Reviewed-by: Dmitry Belyavskiy <beldmit at gmail.com>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22008)
More information about the openssl-commits