aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorAlex Hung <[email protected]>2024-04-23 15:37:03 -0600
committerAlex Deucher <[email protected]>2024-05-02 16:18:16 -0400
commit9419da172221eb1dd672bcbaa2e27bb5f8ca807a (patch)
tree5afd2bd637f1e4c98458494e28f8dcb925606970 /tools/perf/scripts/python/stackcollapse.py
parent0a8d25285feb68608acdf778983ee5f4d72707e8 (diff)
drm/amd/display: Skip accessing array for unknown eng_id
[WHY] ENGINE_ID_UNKNOWN (-1) is not a valid eng_id and not a valid array index. [HOW] Check whether eng_id is unknown to avoid access array with negative array index. This fixes 4 OVERRUN issues reported by Coverity. Reviewed-by: Harry Wentland <[email protected]> Acked-by: Tom Chung <[email protected]> Signed-off-by: Alex Hung <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions