]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: acme: cfg_postsection_acme() don't init correctly acme sections
authorWilliam Lallemand <wlallemand@irq6.net>
Sat, 27 Sep 2025 17:58:44 +0000 (19:58 +0200)
committerWilliam Lallemand <wlallemand@irq6.net>
Sat, 27 Sep 2025 17:58:44 +0000 (19:58 +0200)
commita9ccf692e7e7f0936468b0f96a9f090e1c39cda9
tree9901a1bc912d9ae4011596b68bb959c90b9eff65
parent406fd0ceb17c7ac9241989d865ab42330ed0cf23
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
src/acme.c