[openssl/openssl] 5b7167: Fix engine cleanup error handling

Bernd Edlinger noreply at github.com
Fri Sep 15 06:19:28 UTC 2023


  Branch: refs/heads/openssl-3.1
  Home:   https://github.com/openssl/openssl
  Commit: 5b7167a922344ccfe0aa5621e29d0aafdfc74770
      https://github.com/openssl/openssl/commit/5b7167a922344ccfe0aa5621e29d0aafdfc74770
  Author: Bernd Edlinger <bernd.edlinger at hotmail.de>
  Date:   2023-09-15 (Fri, 15 Sep 2023)

  Changed paths:
    M crypto/engine/eng_lib.c
    M crypto/engine/eng_list.c
    M crypto/engine/eng_local.h
    M crypto/engine/eng_table.c

  Log Message:
  -----------
  Fix engine cleanup error handling

Error handling in engine_cleanup_add_first/last was
broken and caused memory leaks.

Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Paul Dale <pauli at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21971)

(cherry picked from commit 00f2efccf5b9671a7af2b12571068258e9c255a5)




More information about the openssl-commits mailing list