[openssl/openssl] 3b6158: Fix a possible memory leak in ct_move_scts

Bernd Edlinger noreply at github.com
Tue Nov 28 18:45:14 UTC 2023


  Branch: refs/heads/openssl-3.1
  Home:   https://github.com/openssl/openssl
  Commit: 3b61584ac74bc162724962af61f0902c74de77f1
      https://github.com/openssl/openssl/commit/3b61584ac74bc162724962af61f0902c74de77f1
  Author: Bernd Edlinger <bernd.edlinger at hotmail.de>
  Date:   2023-11-28 (Tue, 28 Nov 2023)

  Changed paths:
    M ssl/ssl_lib.c

  Log Message:
  -----------
  Fix a possible memory leak in ct_move_scts

Instead of trying to move the doomed sct back
to the src stack, which may fail as well, simply
free the sct object, as the src list will be
deleted anyway.

Reviewed-by: Paul Yang <kaishen.yy at antfin.com>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22762)

(cherry picked from commit a435d786046fabc85acdb89cbf47f154a09796e1)




More information about the openssl-commits mailing list