]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: ssl: Fix potential leak in cli_parse_update_ocsp_response
authorRemi Tricot-Le Breton <rlebreton@haproxy.com>
Tue, 21 Mar 2023 09:28:34 +0000 (10:28 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Fri, 31 Mar 2023 07:10:36 +0000 (09:10 +0200)
commitd32c8e3ccbd18d200c57458c3023643cdc971ef1
treebbe93f1de9bc1e88a94950b6dcc3ffbdaf5904c5
parentae5187721f93ab03049dba2442e119a44ce760f2
BUG/MINOR: ssl: Fix potential leak in cli_parse_update_ocsp_response

In some extremely unlikely case (or even impossible for now), we might
exit cli_parse_update_ocsp_response without raising an error but with a
filled 'err' buffer. It was not properly free'd.

It does not need to be backported.
src/ssl_ocsp.c