]> git.kaiwu.me - haproxy.git/commit
BUG/MINOR: acme: free() DER buffer on a2base64url error path
authorWilliam Lallemand <wlallemand@haproxy.com>
Mon, 23 Mar 2026 13:02:48 +0000 (14:02 +0100)
committerWilliam Lallemand <wlallemand@haproxy.com>
Mon, 23 Mar 2026 13:39:55 +0000 (14:39 +0100)
commitefbf0f8ed1a5c3d622a537cc2fe0bad4b5e0165b
treeedf825ddd15c9004755433b82b69e0c592fb6462
parent52d8ee85e7fca21405cb30d8d346e7a130df3200
BUG/MINOR: acme: free() DER buffer on a2base64url error path

In acme_req_finalize() the data buffer is only freed when a2base64url
succeed. This patch moves the allocation so it free() the DER buffer in
every cases.

Must be backported to 3.2 and later.
src/acme.c