]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: cfgcond: report invalid trailing chars after expressions
authorWilly Tarreau <w@1wt.eu>
Fri, 16 Jul 2021 14:18:03 +0000 (16:18 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 16 Jul 2021 17:18:41 +0000 (19:18 +0200)
commit379ceeaaebb2bfa9bae77cc1635ac6299b72791e
treedd32f04b9df612c59d7b476747ded217b614c113
parentf869095df90b18964cc2f7e47e9a137f9febf577
MEDIUM: cfgcond: report invalid trailing chars after expressions

Random characters placed after a configuration predicate currently do
not report an error. This is a problem because extra parenthesis,
commas or even other random left-over chars may accidently appear there.
Let's now report an error when this happens.

This is marked MEDIUM because it may break otherwise working configs
which are faulty.
src/cfgcond.c