remarkable-linux/drivers/staging/rtlwifi
Colin Ian King dc3173bf6c staging: rtl8822be: fix missing null check on dev_alloc_skb return
[ Upstream commit 3eb23426e1 ]

dev_alloc_skb can potentially return NULL, so add a null check to
avoid a null pointer dereference on skb

Detected by CoverityScan, CID#1454558 ("Dereference on null return")

Fixes: 7e5b796cde ("staging: r8822be: Add the driver code")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-19 08:42:48 +01:00
..
btcoexist staging: rtlwifi: simplify logical operation 2017-08-23 16:27:07 -07:00
halmac staging: r8822be: fix null pointer dereferences with a null driver_adapter 2017-09-18 12:25:31 +02:00
phydm staging: rtl8822be: Keep array subscript no lower than zero 2017-12-10 13:40:41 +01:00
rtl8822be staging: rtl8822be: fix missing null check on dev_alloc_skb return 2018-03-19 08:42:48 +01:00
base.c staging: rtlwifi: remove memset before memcpy 2017-08-29 08:24:03 +02:00
base.h
cam.c
cam.h
core.c
core.h
debug.c staging: rtlwifi: Improve debugging by using debugfs 2017-08-28 10:16:57 +02:00
debug.h
efuse.c
efuse.h
Kconfig staging: rtlwifi: add MAC80211 dependency 2017-08-23 16:29:09 -07:00
Makefile staging: r8822be: Add Makefiles and Kconfig for new driver 2017-08-20 11:13:12 -07:00
pci.c
pci.h
ps.c
ps.h
pwrseqcmd.h
rc.c
rc.h
regd.c
regd.h
stats.c
stats.h
TODO staging: rtlwifi: Reviewers fixes 2017-08-20 11:13:12 -07:00
wifi.h