]> git.ipfire.org Git - thirdparty/iptables.git/commit
arptables: Fix memleaks in do_commandarp()
authorPhil Sutter <phil@nwl.cc>
Thu, 2 Aug 2018 15:05:24 +0000 (17:05 +0200)
committerFlorian Westphal <fw@strlen.de>
Sat, 4 Aug 2018 12:57:52 +0000 (14:57 +0200)
commitaaed1b68cba7fe78fca42b9fc774b3b6887eff51
treeb92dbd8329f1889f78f34f498275899329f4756f
parentd67d85d75e99f1c5e424d63d7ae5aab3a70c9473
arptables: Fix memleaks in do_commandarp()

The function did not free memory allocated in parse_hostnetworkmask()
and command_jump(). To fix the latter, code was aligned a bit more with
xtables.c (especially opts handling).

Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Florian Westphal <fw@strlen.de>
iptables/xtables-arp.c