Re: [PATCH nf] netfilter: x_tables: check name length in find_match/target, too

2018-04-26 Thread Pablo Neira Ayuso
On Wed, Apr 25, 2018 at 01:38:47PM +0200, Florian Westphal wrote: > ebtables uses find_match() rather than find_request_match in one case > (see bcf4934288402be3464110109a4dae3bd6fb3e93, > "netfilter: ebtables: Fix extension lookup with identical name"), so > extend the check on name length to th

[PATCH nf] netfilter: x_tables: check name length in find_match/target, too

2018-04-25 Thread Florian Westphal
ebtables uses find_match() rather than find_request_match in one case (see bcf4934288402be3464110109a4dae3bd6fb3e93, "netfilter: ebtables: Fix extension lookup with identical name"), so extend the check on name length to those functions too. Signed-off-by: Florian Westphal --- net/netfilter/x_