]> git.baikalelectronics.ru Git - kernel.git/commit
ieee802154: fix logic error in ieee802154_llsec_parse_dev_addr
authorBaozeng Ding <sploving1@gmail.com>
Thu, 26 May 2016 13:07:42 +0000 (21:07 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 30 May 2016 05:36:25 +0000 (22:36 -0700)
commitcd8912970b114979e566e2f782b9ffbac51aced2
treeca3ff196e261ca492247d2490cc951948a23c218
parent35d89036c03e98ea6ded3c3736c0ebe950dbc59c
ieee802154: fix logic error in ieee802154_llsec_parse_dev_addr

Fix a logic error to avoid potential null pointer dereference.

Signed-off-by: Baozeng Ding <sploving1@gmail.com>
Reviewed-by: Stefan Schmidt<stefan@osg.samsung.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ieee802154/nl802154.c