]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: cli: make sure the "getsock" command is only called on connections
authorWilly Tarreau <w@1wt.eu>
Thu, 20 Sep 2018 09:22:29 +0000 (11:22 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 20 Sep 2018 09:42:15 +0000 (11:42 +0200)
commitc2b7f80a91ed01f78aa22b3e2afeda0672501e0c
tree6c8db7e96b5fb6fd354d4cd42c5c8fa3569f1367
parent4c0fcc2314f746b05bd5a613f188784761dc9ac9
BUG/MINOR: cli: make sure the "getsock" command is only called on connections

Theorically nothing would prevent a front applet form connecting to a stats
socket, and if a "getsock" command was issued, it would cause a crash. Right
now nothing in the code does this so in its current form there is no impact.

It may or may not be backported to 1.8.
src/cli.c