]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: lua: fix crash when using bogus mode in register_service()
authorEric Salama <esalama@haproxy.com>
Thu, 21 Dec 2017 13:30:07 +0000 (14:30 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 22 Dec 2017 13:34:54 +0000 (14:34 +0100)
commitfe7456f3b78ca1721d7f10d9df073ed8174f83c0
treec813ba65e79943b894cc779d84aeaf3c3cb6230b
parente31148031f5c5327b342fe268d0cd4c882b0511d
BUG/MEDIUM: lua: fix crash when using bogus mode in register_service()

When using an incorrect 'mode' as 2nd argument of core.register_service(),
HAProxy crashes while displaying the error message.

To be backported to 1.8, 1.7 and 1.6.
src/hlua.c