Re: [PATCH][next] etfilter: fix array index out-of-bounds error

From: Pablo Neira Ayuso
Date: Wed Jun 09 2021 - 15:34:06 EST


On Tue, Jun 08, 2021 at 04:34:08PM +0100, Colin King wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> Currently the array net->nf.hooks_ipv6 is accessed by index hook
> before hook is sanity checked. Fix this by moving the sanity check
> to before the array access.

Applied, thanks.