]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: config: fix bind line thread mask validation
authorWilly Tarreau <w@1wt.eu>
Sat, 2 Feb 2019 16:46:24 +0000 (17:46 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 2 Feb 2019 16:46:24 +0000 (17:46 +0100)
commit6b4a39adc4f9f21dec00a118128f179ade698b17
tree7575e398b14585b6e8c5b22a91c969d1fdae78b5
parentbbcf2b9e0d17d83609ac529a21a258d2f2ea7bb8
BUG/MINOR: config: fix bind line thread mask validation

When no nbproc is specified, a computation leads to reading bind_thread[-1]
before checking if the thread mask is valid for a bind conf. It may either
report a false warning and compute a wrong mask, or miss some incorrect
configs.

This must be backported to 1.9 and possibly 1.8.
src/cfgparse.c