Colin Ian King [off-list ref] wrote:
From: Colin Ian King <redacted>
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: 9920322ccd8e ("rsi: add tx frame for common device configuration")
Fixes: 015e367494c1 ("rsi: Register interrupt handler before firmware load")
Signed-off-by: Colin Ian King <redacted>
Patch applied to wireless-drivers-next.git, thanks.
58828680af49 rsi: add in missing RSI_FSM_STATES into array fsm_state
--
https://patchwork.kernel.org/patch/9804857/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches