Re: [PATCH] net: mac802154: Fix null pointer dereference

From: Alexander Aring
Date: Thu Mar 04 2021 - 09:31:21 EST


Hi,

On Thu, 4 Mar 2021 at 04:23, Pavel Skripkin <paskripkin@xxxxxxxxx> wrote:
...
> >
> > I think this need to be:
> >
> > if (!IS_ERR_OR_NULL(key->tfm[i]))
> >
> > otherwise we still run into issues for the current iterator when
> > key->tfm[i] is in range of IS_ERR().
>
> Oh... I got it completly wrong, I'm sorry. If it's still not fixed,
> I'll send rigth patch for that.
>

please resend your patch. We will review again.

- Alex