BUG/MINOR: cli: fix out of bounds in -S parser
authorWilliam Lallemand <wlallemand@haproxy.com>
Mon, 25 Nov 2019 08:58:37 +0000 (09:58 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Mon, 25 Nov 2019 09:04:34 +0000 (10:04 +0100)
commit2e945c8ee7d5cb358d98c4333a66b0d6631cefa6
treebbe28cd7b96a4349ba4996827012b8703e7dacae
parentc8bb1539cb5f644295141c5219942ff02c279e8a
BUG/MINOR: cli: fix out of bounds in -S parser

Out of bounds when the number or arguments is greater than
MAX_LINE_ARGS.

Fix issue #377.

Must be backported in 2.0 and 1.9.
src/cli.c