summaryrefslogtreecommitdiffstats
path: root/iptables/nft-shared.c
diff options
context:
space:
mode:
authorHeena Sirwani <heenasirwani@gmail.com>2018-08-21 17:25:56 +0530
committerFlorian Westphal <fw@strlen.de>2018-08-21 13:58:17 +0200
commit37b68b2bc903112a74545c7f4a49c89e889582a9 (patch)
tree9f4047d1930e1093a131d1a2590558b560fb96cb /iptables/nft-shared.c
parent92f7b04fbd1803783b3efe1f1de8e81b2bac15ac (diff)
xtables: Fix for segfault when registering hashlimit extension
This patch fixes the crash when registering the hashlimit extension with xtables during init_extensions(when built with static libs) . The option validation function xtables_option_metavalidate has a loop termination condition of the entry name being NULL. The loop does not terminate when validating hashlimit_mt_opts_v2 which causes a crash on derefencing an invalid entry. Signed-off-by: Heena Sirwani <heenasirwani@gmail.com> Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'iptables/nft-shared.c')
0 files changed, 0 insertions, 0 deletions