linux/drivers/net/wireless/rsi
Colin Ian King 58828680af rsi: add in missing RSI_FSM_STATES into array fsm_state
Two recent commits added new RSI_FSM_STATES (namely FSM_FW_NOT_LOADED
and FSM_COMMON_DEV_PARAMS_SENT) and the corresponding table fsm_state
was not updated to match. This can lead to an array overrun when
accessing the latter two states in fsm_state. Fix this by adding in
the missing states.

Detected by CoverityScan, CID#1398379 ("Illegal address computation")

Fixes: 9920322ccd ("rsi: add tx frame for common device configuration")
Fixes: 015e367494 ("rsi: Register interrupt handler before firmware load")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2017-06-28 20:54:14 +03:00
..
Kconfig
Makefile
rsi_91x_core.c rsi: rsi_91x_core: Use time_after time comparison 2017-05-24 16:39:41 +03:00
rsi_91x_debugfs.c rsi: add in missing RSI_FSM_STATES into array fsm_state 2017-06-28 20:54:14 +03:00
rsi_91x_hal.c rsi: add tx frame for common device configuration 2017-06-21 18:26:27 +03:00
rsi_91x_mac80211.c
rsi_91x_main.c rsi: receive path enhancement for RS9113 2017-06-21 18:26:26 +03:00
rsi_91x_mgmt.c wireless-drivers-next patches for 4.13 2017-06-25 14:45:34 -04:00
rsi_91x_sdio_ops.c rsi: Remove old firmware loading method 2017-05-24 16:37:53 +03:00
rsi_91x_sdio.c rsi: Register interrupt handler before firmware load 2017-06-21 18:26:25 +03:00
rsi_91x_usb_ops.c rsi: Remove old firmware loading method 2017-05-24 16:37:53 +03:00
rsi_91x_usb.c rsi: add usb RS9113 chipset support 2017-06-21 18:26:24 +03:00
rsi_boot_params.h rsi: configure new boot parameters to device 2017-06-21 18:26:26 +03:00
rsi_common.h rsi: Remove old firmware loading method 2017-05-24 16:37:53 +03:00
rsi_debugfs.h
rsi_hal.h rsi: add tx frame for common device configuration 2017-06-21 18:26:27 +03:00
rsi_main.h rsi: add tx frame for common device configuration 2017-06-21 18:26:27 +03:00
rsi_mgmt.h rsi: add tx frame for common device configuration 2017-06-21 18:26:27 +03:00
rsi_sdio.h rsi: Remove old firmware loading method 2017-05-24 16:37:53 +03:00
rsi_usb.h rsi: Remove old firmware loading method 2017-05-24 16:37:53 +03:00