Hi, I've noticed that haproxy (1.3/1.4 branches) accepts 1 more configuration file than allowed.
The max default is fixed to 10 (#define MAX_CFG_FILES 10) but we can specify 11
"-f" parameters.
This parameters are then stored in a 10 elements array.
In haproxy.c, the test
if (cfg_nbcfgfiles > MAX_CFG_FILES) {
should be :
if (cfg_nbcfgfiles >= MAX_CFG_FILES) {
--
Cyril Bonté

