]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: lua: Check argument type to convert it to IP mask in arg validation
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 7 Aug 2020 07:11:22 +0000 (09:11 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 7 Aug 2020 12:25:31 +0000 (14:25 +0200)
commite663a6e326c3d4d465d5aa66e4fbe3acde69aac3
tree0b94b782a7a3241d254659022050e17c202b3d55
parent8e09ac8592cb35e11bff0f821db19369e0941e35
BUG/MINOR: lua: Check argument type to convert it to IP mask in arg validation

In hlua_lua2arg_check() function, before converting an argument to an IPv4 or
IPv6 mask, we must be sure to have an integer or a string argument (ARGT_SINT or
ARGT_STR).

This patch must be backported to all supported versions.
src/hlua.c