aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDanielle Ratson <[email protected]>2021-05-17 20:03:57 +0300
committerDavid S. Miller <[email protected]>2021-05-17 15:15:46 -0700
commit837ec05cfea08284c575e8e834777b107da5ff9d (patch)
treedd4cf1ed79684b1aa8a76f43e9dcca92a56dc08e /tools/perf/scripts/python
parentece5df874d3a80fcade92ca3b3877bd78dbb6116 (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')
0 files changed, 0 insertions, 0 deletions