diff options
author | Michal Kazior <michal.kazior@tieto.com> | 2014-07-14 09:25:25 -0400 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2014-07-15 04:19:45 -0400 |
commit | 993619443774f7ef4df3b98655df4c3bf298548c (patch) | |
tree | a0973b4fb0512fd7d606c64449f691033d9319df /tools/perf/util/scripting-engines/trace-event-perl.c | |
parent | 2374b18684dfed2a0588efe4df716d16554da467 (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/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions