Miaoqing Pan <miaoqing@xxxxxxxxxxxxxx> wrote: > If firmware reports rate_max > WMI_TPC_RATE_MAX(WMI_TPC_FINAL_RATE_MAX) > or num_tx_chain > WMI_TPC_TX_N_CHAIN, it will cause array out-of-bounds > access, so print a warning and reset to avoid memory corruption. > > Tested HW: QCA9984 > Tested FW: 10.4-3.9.0.2-00035 > > Signed-off-by: Miaoqing Pan <miaoqing@xxxxxxxxxxxxxx> > Signed-off-by: Kalle Valo <kvalo@xxxxxxxxxxxxxx> 2 patches applied to ath-next branch of ath.git, thanks. c5329b2d5b8b ath10k: fix array out-of-bounds access 486a88498434 ath10k: fix memory leak for tpc_stats_final -- https://patchwork.kernel.org/patch/11180701/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches