]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix some memory leaks in the openssl app
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Mon, 11 Sep 2023 04:38:31 +0000 (06:38 +0200)
committerBernd Edlinger <bernd.edlinger@hotmail.de>
Thu, 21 Sep 2023 12:40:28 +0000 (14:40 +0200)
commit7e792574f97d16f2479d0b821552d2059be26694
tree409dd436d90df9185e409a4724514c7ae2e1095a
parent266e86617f387a8cbdd0207f5cf9b0b55723ae5a
Fix some memory leaks in the openssl app

In some error cases the normal cleanup did not
happen, but instead an exit(1) which caused some
memory leaks, as reported in #22049.

Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Nicola Tuveri <nic.tuv@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/22055)

(cherry picked from commit 8c040c086ca11a519975c58961a5dc933aa6524a)
apps/dgst.c
apps/dhparam.c
apps/dsaparam.c
apps/gendsa.c
apps/genpkey.c
apps/genrsa.c
apps/lib/apps.c
apps/req.c