]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: acme: check if acme domains are configured
authorWilliam Lallemand <wlallemand@haproxy.com>
Wed, 21 May 2025 09:13:09 +0000 (11:13 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Wed, 21 May 2025 09:41:28 +0000 (11:41 +0200)
commit156f4bd7a65f8a25123f6aaf2fc29cd05ab1ec93
tree38b68623705c7f8d768ee603228412691550d216
parentf5ed3094496cb837c1263201dba50b6a91539231
BUG/MEDIUM: acme: check if acme domains are configured

When starting the ACME task with a ckch_conf which does not contain the
domains, the ACME task would segfault because it will try to dereference
a NULL in this case.

The patch fix the issue by emitting a warning when no domains are
configured. It's not done at configuration parsing because it is not
easy to emit the warning because there are is no callback system which
give access to the whole ckch_conf once a line is parsed.

No backport needed.
src/acme.c