]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[BUG] acl-related keywords are not allowed in defaults sections
authorWilly Tarreau <w@1wt.eu>
Sun, 12 Oct 2008 15:26:37 +0000 (17:26 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 7 Dec 2008 22:33:43 +0000 (23:33 +0100)
commitb099aca91ad08607011950aaf7441c0a16a6bcd1
tree079a51da7ba0fe6a770a40e17f735c4d2c25ef54
parentda250db376381f4c36d2e6a846109bfdbbffa8dd
[BUG] acl-related keywords are not allowed in defaults sections

Using an ACL-related keyword in the defaults section causes a
segfault during parsing because the list headers are not initialized.
We must initialize list headers for default instance and reject
keywords relying on ACLs.
(cherry picked from commit 1c90a6ec20946a713e9c93995a8e91ed3eeb9da4)
(cherry picked from commit eb8131b4e418b838b2d62d991d91d94482ba49de)
src/cfgparse.c