aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorJohannes Berg <[email protected]>2019-10-08 16:03:15 +0200
committerLuca Coelho <[email protected]>2019-12-23 11:54:31 +0200
commit0e00270863daaf803b32c0ff64b73dabdefd612a (patch)
treee9c16b7bb4719b0026e14c7f24e68eb9757770a3 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parentcfdc20efebdc1dc918338818b10f1d95b58b2ca5 (diff)
iwlwifi: pcie: validate queue ID before array deref/bit ops
Validate that the queue ID is in range before trying to use it as an index or for test_bit() - the previous bug showed that this has in fact happened, and it was lucky that we caught it there, had the bit been set then we'd have actually used the value despite being far out of range. Signed-off-by: Johannes Berg <[email protected]> Signed-off-by: Luca Coelho <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions