[openssl/openssl] 296fc3: Fix some memory leaks in the openssl app

Bernd Edlinger noreply at github.com
Thu Sep 21 12:42:32 UTC 2023


  Branch: refs/heads/openssl-3.0
  Home:   https://github.com/openssl/openssl
  Commit: 296fc3ca5011cf6c9e332f5da46e6b80e9bc60ac
      https://github.com/openssl/openssl/commit/296fc3ca5011cf6c9e332f5da46e6b80e9bc60ac
  Author: Bernd Edlinger <bernd.edlinger at hotmail.de>
  Date:   2023-09-21 (Thu, 21 Sep 2023)

  Changed paths:
    M apps/dgst.c
    M apps/dhparam.c
    M apps/dsaparam.c
    M apps/gendsa.c
    M apps/genpkey.c
    M apps/genrsa.c
    M apps/lib/apps.c
    M apps/req.c

  Log Message:
  -----------
  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 at arm.com>
Reviewed-by: Nicola Tuveri <nic.tuv at gmail.com>
(Merged from https://github.com/openssl/openssl/pull/22055)

(cherry picked from commit 8c040c086ca11a519975c58961a5dc933aa6524a)




More information about the openssl-commits mailing list