]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[BUG] config: fix wrong handling of too large argument count
authorWilly Tarreau <w@1wt.eu>
Mon, 9 Nov 2009 20:16:53 +0000 (21:16 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 9 Nov 2009 20:16:53 +0000 (21:16 +0100)
commit3b39c1446b9bd842324e87782a836948a07c25a2
tree21b2b3af8ed5b7c985ae69fc6278ad4e780143d1
parent7433c2a4b3993f90c88a35ca28ebfc398fb26bea
[BUG] config: fix wrong handling of too large argument count

Holger Just reported that running ACLs with too many args caused
a segfault during config parsing. This is caused by a wrong test
on argument count. In case of too many arguments on a config line,
the last one was not correctly zeroed. This is now done and we
report the error indicating what part had been truncated.
src/cfgparse.c