MEDIUM: cfgparse: max arguments check in the global section
authorWilliam Lallemand <wlallemand@haproxy.com>
Tue, 19 May 2015 14:37:23 +0000 (16:37 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 28 May 2015 16:43:03 +0000 (18:43 +0200)
commit1a748aed0764dbb434e1e2f4a06bcb7f8bc27263
treef7bb8fe72e251546ac1e391a69e8ca6af6fd8fcf
parent6e62fb64055a32ef9e0c167c1ddb41f7facd5897
MEDIUM: cfgparse: max arguments check in the global section

Most of the keywords in the global section does not check the maximum
number of arguments. This leds sometines to unused and wrong arguments
in the configuration file. This patch add a maximum argument test in
many keywords of this section.
src/cfgparse.c