]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: ssl: leak of ckch_inst_link in ckch_inst_free()
authorWilliam Lallemand <wlallemand@haproxy.org>
Mon, 29 Aug 2022 16:53:34 +0000 (18:53 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Mon, 29 Aug 2022 16:53:34 +0000 (18:53 +0200)
commit056ad01d55675ab2d65c7b41a2e1096db27b3d14
tree140c385f9969aead1bc80159d59bb67c0285715e
parent946580e17af62045707fd93a4bc46465024e5de4
BUG/MINOR: ssl: leak of ckch_inst_link in ckch_inst_free()

ckch_inst_free() unlink the ckch_inst_link structure but never free it.
It can cause a memory leak upon a ckch_inst_free() done with CLI
operation.

Bug introduced by commit 4458b97 ("MEDIUM: ssl: Chain ckch instances in
ca-file entries").

Must be backported as far as 2.5.
src/ssl_ckch.c