summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMiaoqing Pan <miaoqing@codeaurora.org>2019-10-09 16:18:08 +0800
committerKalle Valo <kvalo@codeaurora.org>2019-10-14 11:34:20 +0300
commitc5329b2d5b8b4e41be14d31ee8505b4f5607bf9b (patch)
treea5ffdb24c39dda8e265cd2eea2d989514db03034 /tools/perf/scripts/python/export-to-postgresql.py
parenta69d3bdd4d40c8f780c94b5e1983adb1cd389b59 (diff)
ath10k: fix array out-of-bounds access
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@codeaurora.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions