50591c60a9
The patch fixes a couple of issues: - absence of deallocation of rsi_dev->rx_usb_urb[0] in the driver; - potential NULL pointer dereference because of lack of checks for memory allocation success in rsi_init_usb_interface(). By the way, it makes rsi_probe() returning error code instead of 1 and fixes comments regarding returning values. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru> Signed-off-by: John W. Linville <linville@tuxdriver.com> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
rsi_91x_core.c | ||
rsi_91x_debugfs.c | ||
rsi_91x_mac80211.c | ||
rsi_91x_main.c | ||
rsi_91x_mgmt.c | ||
rsi_91x_pkt.c | ||
rsi_91x_sdio.c | ||
rsi_91x_sdio_ops.c | ||
rsi_91x_usb.c | ||
rsi_91x_usb_ops.c | ||
rsi_boot_params.h | ||
rsi_common.h | ||
rsi_debugfs.h | ||
rsi_main.h | ||
rsi_mgmt.h | ||
rsi_sdio.h | ||
rsi_usb.h |