]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: lua: Check argument type to convert it to IPv4/IPv6 arg validation
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 7 Aug 2020 07:07:26 +0000 (09:07 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 7 Aug 2020 12:25:31 +0000 (14:25 +0200)
commit8e09ac8592cb35e11bff0f821db19369e0941e35
tree1bb48890ab86bf7332f2e90a130ba729573d0885
parent959171376f4974b883b2aa4228b3f8c610ca2ae9
BUG/MINOR: lua: Check argument type to convert it to IPv4/IPv6 arg validation

In hlua_lua2arg_check() function, before converting a string to an IP address,
we must be to sure to have a string argument (ARGT_STR).

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