]> git.kaiwu.me - haproxy.git/commit
BUG/MINOR: acl: check the presence of an argument to "-u"
authorWilly Tarreau <w@1wt.eu>
Thu, 12 Nov 2026 14:12:06 +0000 (15:12 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 12 Nov 2026 17:12:23 +0000 (18:12 +0100)
commitd729a03dc8e4eabb250bc5d1a094c2a6c0858477
tree152950d734b5b5ad4dbdee804ca651b08dcbd18c
parentbe0aa0f5c3244d84135aae700f56df80a93747f1
BUG/MINOR: acl: check the presence of an argument to "-u"

In 1.5-dev23, support for specifying an ACL unique ID was added via
commit 3534d881bc ("MINOR: pattern/acl: Each pattern of each acl can
be load with specified id"). It turns out that if the argument is
missing, we read past the end and can segfault.

This can be backported to all versions. Thanks to Zlatko Bratkovic
for reporting this bug.
src/acl.c