Re: [PATCH 2/5] netfilter: x_tables: make sure e->next_offset covers remaining blob size

2016-03-24 Thread Pablo Neira Ayuso
On Tue, Mar 22, 2016 at 06:02:50PM +0100, Florian Westphal wrote: > Otherwise this function may read data beyond the ruleset blob. Also applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majord...@vger.kernel.org More majordom

[PATCH 2/5] netfilter: x_tables: make sure e->next_offset covers remaining blob size

2016-03-22 Thread Florian Westphal
Otherwise this function may read data beyond the ruleset blob. Signed-off-by: Florian Westphal --- net/ipv4/netfilter/arp_tables.c | 6 -- net/ipv4/netfilter/ip_tables.c | 6 -- net/ipv6/netfilter/ip6_tables.c | 6 -- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/n