]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: acme: wrong labels logic always memprintf errmsg
authorWilliam Lallemand <wlallemand@irq6.net>
Sat, 21 Feb 2026 15:24:22 +0000 (16:24 +0100)
committerWilliam Lallemand <wlallemand@irq6.net>
Sun, 22 Feb 2026 21:30:38 +0000 (22:30 +0100)
commit8d54cda0af691c8f2089be909716b509c3d8f42e
treeceac2d4ad093260f8427b2f38e21b0abb23403db
parente63722fed48ae91ce577f2dc8196a37ae9aea6ba
BUG/MINOR: acme: wrong labels logic always memprintf errmsg

In acme_req_finalize(), acme_req_challenge(), acme_req_neworder(),
acme_req_account(), and acme_post_as_get(), the success path always
calls unconditionally memprintf(errmsg, ...).

This may result in a leak of errmsg.

Additionally, acme_res_chkorder(), acme_res_finalize(), acme_res_auth(),
and acme_res_neworder() had unused 'out:' labels that were removed.

Must be backported as far as 3.2.
src/acme.c