mirror of
https://github.com/torvalds/linux.git
synced 2024-12-21 10:31:54 +00:00
bdc4bf652b
In drivers/net/wireless/rtlwifi/pci.c::_rtl_pci_rx_interrupt() we call dev_alloc_skb(), which may fail and return NULL, but we do not check the returned value against NULL before dereferencing the returned pointer. This may lead to a NULL pointer dereference which means we'll crash - not good. In a separate call to dev_alloc_skb(), the debug level is changed so that the failure message will always be logged. Signed-off-by: Jesper Juhl <jj@chaosbits.net> Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: John W. Linville <linville@tuxdriver.com> |
||
---|---|---|
.. | ||
rtl8192ce | ||
base.c | ||
base.h | ||
cam.c | ||
cam.h | ||
core.c | ||
core.h | ||
debug.c | ||
debug.h | ||
efuse.c | ||
efuse.h | ||
Kconfig | ||
Makefile | ||
pci.c | ||
pci.h | ||
ps.c | ||
ps.h | ||
rc.c | ||
rc.h | ||
regd.c | ||
regd.h | ||
wifi.h |