diff options
author | Michael Mera <dev@michaelmera.com> | 2017-04-24 16:11:57 +0900 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2017-05-04 15:58:57 +0300 |
commit | a16703aaeaedec7a8bee5be5522c7c3e75478951 (patch) | |
tree | 6ddbb235c2a6a41db0a5775d50f4accb1ee61691 /tools/perf/scripts/python/sctop.py | |
parent | d96db25d20256208ce47d71b9f673a1de4c6fd7e (diff) |
ath10k: fix out of bounds access to local buffer
During write to debugfs file simulate_fw_crash, fixed-size local buffer
'buf' is accessed and modified at index 'count-1', where 'count' is the
size of the write (so potentially out of bounds).
This patch fixes this problem.
Signed-off-by: Michael Mera <dev@michaelmera.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions