From: William Lallemand Date: Sat, 27 Sep 2025 17:58:44 +0000 (+0200) Subject: BUG/MEDIUM: acme: cfg_postsection_acme() don't init correctly acme sections X-Git-Tag: v3.3-dev9~27 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a9ccf692e7e7f0936468b0f96a9f090e1c39cda9;p=thirdparty%2Fhaproxy.git BUG/MEDIUM: acme: cfg_postsection_acme() don't init correctly acme sections The cfg_postsection_acme() redefines its own cur_acme variable, pointing to the first acme section created. Meaning that the first section would be init multiple times, and the next sections won't never be initialized. It could result in crashes at the first use of all sections that are not the first one. Must be backported in 3.2 --- diff --git a/src/acme.c b/src/acme.c index ba4bf5905..91da06a1b 100644 --- a/src/acme.c +++ b/src/acme.c @@ -616,7 +616,6 @@ error: /* Initialize stuff once the section is parsed */ static int cfg_postsection_acme() { - struct acme_cfg *cur_acme = acme_cfgs; struct ckch_store *store; EVP_PKEY *key = NULL; BIO *bio = NULL;