[openssl/openssl] 7e7925: Fix some memory leaks in the openssl app

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


  Branch: refs/heads/openssl-3.1
  Home:   https://github.com/openssl/openssl
  Commit: 7e792574f97d16f2479d0b821552d2059be26694
      https://github.com/openssl/openssl/commit/7e792574f97d16f2479d0b821552d2059be26694
  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