]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: conf: "listener id" expects integer, but its not checked
authorThierry Fournier <tfournier@arpalert.org>
Fri, 26 Feb 2016 07:45:58 +0000 (08:45 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 19 Mar 2016 06:39:51 +0000 (07:39 +0100)
commite7fe8eb889b6e3a92892b0463ee6e61bebec0bb1
tree958fdcc3280f1bf61346cdd3ecfcd3a2b0dfe92a
parente83345df1b98b35144673c092c6e0eba6edc0746
BUG/MINOR: conf: "listener id" expects integer, but its not checked

The listener id was converted with a simple atol, so conversion
error are unchecked. This patch uses strtol and checks the
conversion status.
src/listener.c