]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: lua: lua-load doesn't check its parameters
authorThierry Fournier <thierry.fournier@ozon.io>
Sun, 29 Nov 2020 00:06:24 +0000 (01:06 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 2 Dec 2020 08:42:43 +0000 (09:42 +0100)
commit77a88943d6a0d7852c25a03541d60ccf44aa5c6d
tree920e067576720f735dd68741308f6e6501d5229e
parentde6145f747e38a5da455ccb8a84ebfc1cd2f517f
BUG/MINOR: lua: lua-load doesn't check its parameters

"lua-load" doesn't check if the expected parameter is present. It tries to
open() directly the argument at second position. So if the filename is
omitted, it tries to load an empty filename.

This patch could be backported until 1.8
src/hlua.c