]> git.kaiwu.me - haproxy.git/commit
BUG/MINOR: ssl: crt-ignore-err memory leak with 'all' parameter
authorWilliam Lallemand <wlallemand@haproxy.org>
Mon, 14 Nov 2022 10:36:11 +0000 (11:36 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Mon, 14 Nov 2022 10:43:52 +0000 (11:43 +0100)
commitf813dab17540836d3b2f1cbdb275927886c06b15
treea7d5dd6a165db70507d65eb0019b94009ced00c1
parent380085dfc1ccc5023320858a147eb526c03ade59
BUG/MINOR: ssl:  crt-ignore-err memory leak with 'all' parameter

Only allocate "str" if the parameter is not "all" in order to avoid any
memory leak.

No backport needed.
src/cfgparse-ssl.c