Re: [PATCH wpan 3/4] net: ieee802154: fix nl802154 add llsec key

2021-02-24 Thread Stefan Schmidt
Hello. On 21.02.21 18:43, Alexander Aring wrote: This patch fixes a nullpointer dereference if NL802154_ATTR_SEC_KEY is not set by the user. If this is the case nl802154 will return -EINVAL. Reported-by: syzbot+ce4e062c2d51977dd...@syzkaller.appspotmail.com Signed-off-by: Alexander Aring ---

[PATCH wpan 3/4] net: ieee802154: fix nl802154 add llsec key

2021-02-21 Thread Alexander Aring
This patch fixes a nullpointer dereference if NL802154_ATTR_SEC_KEY is not set by the user. If this is the case nl802154 will return -EINVAL. Reported-by: syzbot+ce4e062c2d51977dd...@syzkaller.appspotmail.com Signed-off-by: Alexander Aring --- net/ieee802154/nl802154.c | 3 ++- 1 file changed, 2