linux-stable/drivers/staging/rtlwifi
Aditya Pakki 6a8ca24590 staging: rtlwifi: Fix potential NULL pointer dereference of kzalloc
phydm.internal is allocated using kzalloc which is used multiple
times without a check for NULL pointer. This patch avoids such a
scenario by returning 0, consistent with the failure case.

Signed-off-by: Aditya Pakki <pakki001@umn.edu>
Reviewed-by: Mukesh Ojha <mojha@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-03-21 08:32:58 +01:00
..
btcoexist Staging: rtlwifi: Remove Unneeded funition halbtc_get_wifi_rssi() 2018-11-05 14:16:32 +01:00
halmac staging: rtlwifi: Use proper enum for return in halmac_parse_psd_data_88xx 2019-02-21 10:58:11 +01:00
phydm staging: rtlwifi: Fix potential NULL pointer dereference of kzalloc 2019-03-21 08:32:58 +01:00
rtl8822be staging: rtlwifi: rtl8822b: fix to avoid potential NULL pointer dereference 2019-03-21 08:32:57 +01:00
base.c staging: rtlwifi: SET_RATE_ID inline no arg reuse 2018-11-07 13:07:26 +01:00
base.h staging: rb8822be Change line not to end with '(' 2018-11-27 10:07:08 +01:00
cam.c
cam.h
core.c staging: rtlwifi: Add new line to stay in 80 characters 2018-11-20 10:53:54 +01:00
core.h
debug.c
debug.h
efuse.c staging: rtlwifi: Remove set but not used variables 'dataempty, hoffset' 2019-02-19 11:18:00 +01:00
efuse.h
Kconfig staging: rtlwifi: replace ---help--- with help in Kconfig 2019-01-30 15:38:50 +01:00
Makefile
pci.c
pci.h drivers: staging: rtlwifi: Start statement on a tabstop 2019-01-30 15:38:50 +01:00
ps.c staging: rtlwifi: Add spaces to match open parenthesis 2018-11-20 10:53:54 +01:00
ps.h
pwrseqcmd.h
rc.c
rc.h
regd.c Staging: rtlwifi: remove unnecessary NULL check 2018-09-25 20:51:33 +02:00
regd.h
stats.c
stats.h
TODO
wifi.h staging: rtlwifi: Removed unused define and code efuse_re_pg* from wifi.h 2018-10-02 15:18:37 -07:00