]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: ssl: Release ssl_ocsp_task_ctx.cur_ocsp when destroying task
authorRemi Tricot-Le Breton <rlebreton@haproxy.com>
Mon, 9 Jan 2023 11:02:45 +0000 (12:02 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Mon, 9 Jan 2023 14:43:41 +0000 (15:43 +0100)
commit14d7f0eb486481badeea89bfa4b7a446479b4321
tree6a2067d58ff0867d0fb2a0e0d8668e544ac66bdc
parent112b16a4d01b61781b51639715676b18676c3a6f
MINOR: ssl: Release ssl_ocsp_task_ctx.cur_ocsp when destroying task

In the unlikely event that the OCSP udpate task is killed in the middle
of an update process (request sent but no response received yet) the
cur_ocsp member of the update context would keep an unneeded reference
to a certificate_ocsp object. It must then be freed during the task's
cleanup.
src/ssl_ocsp.c