aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorBaochen Qiang <[email protected]>2023-09-20 16:43:42 +0300
committerKalle Valo <[email protected]>2023-09-21 11:02:07 +0300
commitb302dce3d9edea5b93d1902a541684a967f3c63c (patch)
tree6b66d26ea961cfc5e638b1767f535c4219fc076a /tools/perf/scripts/python/exported-sql-viewer.py
parentcb4c132ebfeac5962f7258ffc831caa0c4dada1a (diff)
wifi: ath12k: fix possible out-of-bound write in ath12k_wmi_ext_hal_reg_caps()
reg_cap.phy_id is extracted from WMI event and could be an unexpected value in case some errors happen. As a result out-of-bound write may occur to soc->hal_reg_cap. Fix it by validating reg_cap.phy_id before using it. This is found during code review. Compile tested only. Signed-off-by: Baochen Qiang <[email protected]> Acked-by: Jeff Johnson <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions