]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: config: Test validity of tune.maxaccept during the config parsing
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 30 Apr 2019 12:03:56 +0000 (14:03 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 30 Apr 2019 13:28:29 +0000 (15:28 +0200)
commit6b02ab87348090efec73b1dd24f414239669f279
tree219b63dbcf7eb7572ab2fd72ecdac1748285a028
parent102854cbbaa4d22466dddec9035d411db244082f
MINOR: config: Test validity of tune.maxaccept during the config parsing

Only -1 and positive integers from 0 to INT_MAX are accepted. An error is
triggered during the config parsing for any other values.

This patch may be backported to all supported versions.
src/cfgparse-global.c