summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_addrtype.t
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2019-01-22 11:14:21 +0100
committerFlorian Westphal <fw@strlen.de>2019-02-01 15:49:29 +0100
commit432a5ecfa7890bd3495bb1ab5e34c2258090133f (patch)
tree7ff1c924a4a1e30ca0d5cc3f843c9a3975250ad4 /extensions/libxt_addrtype.t
parent32ebc39f71e8107d6069a9f6fba8338a2823889d (diff)
nft: Fix potential memleaks in nft_*_rule_find()
These functions parse an nftnl_rule into a local instance of iptables_command_state which potentially allocates memory (for matches or target), so call ops->clear_cs() before returning to caller. Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'extensions/libxt_addrtype.t')
0 files changed, 0 insertions, 0 deletions