]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: config: fix uninitialized initial state in ".if" block evaluator
authorWilly Tarreau <w@1wt.eu>
Thu, 6 May 2021 06:46:11 +0000 (08:46 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 6 May 2021 08:35:03 +0000 (10:35 +0200)
commit6e647c94f2a7bac30a7642167601c229a309ffc3
tree229731e9065f30d62cdc8224c89c8f20363b1c1d
parente763c8c99f7134a009117a59e6a6002b3c9e8c84
BUG/MINOR: config: fix uninitialized initial state in ".if" block evaluator

The condition to skip the block in the ".if" evaluator forgot to check
that the level was high enough, resulting in rare cases where a random
value matched one of the 5 values that cause the block to be skipped.

No backport is needed as it's 2.4-only.
src/cfgparse.c