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

From
Alexander Aring <alex.aring@gmail.com>
Date
2021-03-04 14:31:37
Also in
lkml
Reply to
Pavel Skripkin, 2021-03-04
Hi,

On Thu, 4 Mar 2021 at 04:23, Pavel Skripkin [off-list ref] wrote:
...
quoted
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
Thread (10 messages) 10 messages, 3 authors, last reply 2021-04-06
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help