summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMichal Kazior <michal.kazior@tieto.com>2014-07-14 16:25:25 +0300
committerKalle Valo <kvalo@qca.qualcomm.com>2014-07-15 11:19:45 +0300
commit993619443774f7ef4df3b98655df4c3bf298548c (patch)
treea0973b4fb0512fd7d606c64449f691033d9319df /tools/perf/scripts/python/export-to-postgresql.py
parent2374b18684dfed2a0588efe4df716d16554da467 (diff)
ath10k: sanitize tx ring index access properly
The tx ring index was immediately trimmed with a bitmask. This discarded the 0xFFFFFFFF error case (which theoretically can happen when a device is abruptly disconnected) and led to using an invalid tx ring index. This could lead to memory corruption. Signed-off-by: Michal Kazior <michal.kazior@tieto.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions