]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: stick-table/cli: Check for invalid ipv6 key
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 15 Nov 2021 08:17:25 +0000 (09:17 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 15 Nov 2021 08:17:27 +0000 (09:17 +0100)
commitb7c962b0c070a0c6ad35eaed332869a36cb931cf
tree79783c87fa989af1e02c822e2ccc3e7a5334d9a5
parentd83f6e6224fa6cfe14f58aaa50d496e097fa4f9f
BUG/MINOR: stick-table/cli: Check for invalid ipv6 key

When an ipv6 key is used to filter a CLI command on a stick table
(clear/set/show table ...), the return value of inet_pton() call must be
checked to be sure the key is valid.

This patch should fix the issue #1163. It should be backported to all
supported versions.
src/stick_table.c