]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix a possible memory leak in ct_move_scts
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Fri, 17 Nov 2023 13:47:36 +0000 (14:47 +0100)
committerTomas Mraz <tomas@openssl.org>
Tue, 28 Nov 2023 18:43:11 +0000 (19:43 +0100)
commitc10e911cba74f0e2ae7638f753286668a131469d
treeda79a746a72bd0dfa9572d12d6a29a2d2e685f51
parent971228fdc9d3ddf4e69221df79041b245c30c420
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@antfin.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22762)

(cherry picked from commit a435d786046fabc85acdb89cbf47f154a09796e1)
ssl/ssl_lib.c