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

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


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




More information about the openssl-commits mailing list