]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix a possible memory leak in make_receipt_request
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Wed, 15 Nov 2023 18:31:28 +0000 (19:31 +0100)
committerTomas Mraz <tomas@openssl.org>
Fri, 1 Dec 2023 10:06:34 +0000 (11:06 +0100)
commit4ffa17248736300dcbca58ba57aa0badac80c388
treeabaefa4b0146de0dccd34501d4aec8ce17b79a23
parentc24cb3f5bcec41284419812272dd6be2a0294683
Fix a possible memory leak in make_receipt_request

When the CMS_ReceiptRequest cannot be created,
the rct_to and rct_from may be leaked.

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Todd Short <todd.short@me.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22742)

(cherry picked from commit bed7a878107818c297301c6602013d364b266c67)
apps/cms.c