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

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


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