[PATCH 0/2] net: ieee802154: fix logic errors
From: Dan Robertson <dan@dlrobertson.com>
Date: 2021-04-23 04:17:51
From: Dan Robertson <dan@dlrobertson.com>
Date: 2021-04-23 04:17:51
I hit two null derefs due to logic errors. - ieee802154_llsec_parse_key_id null deref if PAN ID is null. - ieee802154_llsec_parse_dev_addr null deref if the given mode does not match the given address. New to ieee802154, so feedback would definitely be appreciated. Dan Robertson (2): net: ieee802154: fix null deref in parse dev addr net: ieee802154: fix null deref in parse key id net/ieee802154/nl-mac.c | 2 +- net/ieee802154/nl802154.c | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) -- 2.31.1