]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: acme: fix possible NULL deref
authorWilliam Lallemand <wlallemand@haproxy.com>
Tue, 15 Apr 2025 09:36:26 +0000 (11:36 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Tue, 15 Apr 2025 09:41:58 +0000 (11:41 +0200)
commit3866d3bd12bc27ebb94c76e7e1be39bf916ee8c3
tree9c397cc78a64941a48815f77f2c200e8851ec525
parent3cbbf41cd8772e7376d3f8473b171b9f8016079b
BUG/MINOR: acme: fix possible NULL deref

Task was dereferenced when setting ctx but was checked after.
This patch move the setting of ctx after the check.

Should fix issue #2931
src/acme.c