summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorKarol Przybylski <karprzy7@gmail.com>2024-11-05 13:11:31 +0300
committerJeff Johnson <quic_jjohnson@quicinc.com>2024-11-13 03:44:55 +0300
commiteb8c0534713865d190856f10bfc97cf0b88475b1 (patch)
tree3cd5c3bbc72d01ebf29fd1b133c8c7f456821aa6 /tools/perf/scripts/python/stackcollapse.py
parent1053987a6bce68127504cda476ee56b97c9109d9 (diff)
downloadlinux-eb8c0534713865d190856f10bfc97cf0b88475b1.tar.xz
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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions