diff options
author | Danielle Ratson <[email protected]> | 2021-05-17 20:03:57 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-05-17 15:15:46 -0700 |
commit | 837ec05cfea08284c575e8e834777b107da5ff9d (patch) | |
tree | dd4cf1ed79684b1aa8a76f43e9dcca92a56dc08e /tools/perf/scripts/python/intel-pt-events.py | |
parent | ece5df874d3a80fcade92ca3b3877bd78dbb6116 (diff) |
mlxsw: Verify the accessed index doesn't exceed the array length
There are few cases in which an array index queried from a fw register,
is accessed without any validation that it doesn't exceed the array
length.
Add a proper length validation, so accessing memory past the end of an
array will be forbidden.
Signed-off-by: Danielle Ratson <[email protected]>
Signed-off-by: Ido Schimmel <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions