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

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


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