[openssl/openssl] a632eb: Fix a possible memleak in smime_main

Bernd Edlinger noreply at github.com
Tue Dec 12 18:49:59 UTC 2023


  Branch: refs/heads/openssl-3.2
  Home:   https://github.com/openssl/openssl
  Commit: a632eb4ae3f7b495f8c491f9e2fe819ad518f880
      https://github.com/openssl/openssl/commit/a632eb4ae3f7b495f8c491f9e2fe819ad518f880
  Author: Bernd Edlinger <bernd.edlinger at hotmail.de>
  Date:   2023-12-12 (Tue, 12 Dec 2023)

  Changed paths:
    M apps/smime.c

  Log Message:
  -----------
  Fix a possible memleak in smime_main

Reviewed-by: Shane Lontis <shane.lontis at oracle.com>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22919)

(cherry picked from commit ba4d833f6e24a83bc3e74ba55f52d8916b70fb59)


  Commit: 9365c84a8f63cb3d242af377d96ce28c024025ca
      https://github.com/openssl/openssl/commit/9365c84a8f63cb3d242af377d96ce28c024025ca
  Author: Bernd Edlinger <bernd.edlinger at hotmail.de>
  Date:   2023-12-12 (Tue, 12 Dec 2023)

  Changed paths:
    M apps/rehash.c

  Log Message:
  -----------
  Fix a possible memleak in apps/rehash.c

The OPENSSL_DIR_end was missing in case of error.

Reviewed-by: Shane Lontis <shane.lontis at oracle.com>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22920)

(cherry picked from commit 01709fcb8b609cfc47e277d20492c333bafb113e)


Compare: https://github.com/openssl/openssl/compare/e2e2ecd8ba81...9365c84a8f63


More information about the openssl-commits mailing list