]> git.ipfire.org Git - thirdparty/iptables.git/commit
xtables: allocate struct xt_comment_info for comments
authorPablo Neira Ayuso <pablo@netfilter.org>
Sat, 26 May 2018 17:04:08 +0000 (19:04 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sat, 26 May 2018 17:12:46 +0000 (19:12 +0200)
commitd1c79cdedc2501e51205be930a817fe3842c1d22
tree38285c5cc87830bd2f4e0988f33ee3df43a6908b
parent4e2020952d6f9a8b1b271706dfa72c0c76e804a0
xtables: allocate struct xt_comment_info for comments

When mapping it to the comment match, otherwise, crash happens when
trying to save the ruleset listing.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
iptables/nft-shared.c