[openssl/openssl] ecd41b: Fix engine cleanup error handling

Bernd Edlinger noreply at github.com
Fri Sep 15 06:20:27 UTC 2023


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