aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorKarol Przybylski <karprzy7@gmail.com>2024-11-05 11:11:31 +0100
committerJeff Johnson <quic_jjohnson@quicinc.com>2024-11-12 16:44:55 -0800
commiteb8c0534713865d190856f10bfc97cf0b88475b1 (patch)
tree3cd5c3bbc72d01ebf29fd1b133c8c7f456821aa6 /tools/perf/scripts/python/export-to-postgresql.py
parentwifi: ath9k: miscellaneous spelling fixes (diff)
downloadlinux-eb8c0534713865d190856f10bfc97cf0b88475b1.tar.gz
linux-eb8c0534713865d190856f10bfc97cf0b88475b1.zip
wifi: ath12k: Fix for out-of bound access error
Selfgen stats are placed in a buffer using print_array_to_buf_index() function. Array length parameter passed to the function is too big, resulting in possible out-of bound memory error. Decreasing buffer size by one fixes faulty upper bound of passed array. Discovered in coverity scan, CID 1600742 and CID 1600758 Signed-off-by: Karol Przybylski <karprzy7@gmail.com> Acked-by: Kalle Valo <kvalo@kernel.org> Link: https://patch.msgid.link/20241105101132.374372-1-karprzy7@gmail.com Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions