diff options
| author | Alex Hung <[email protected]> | 2024-04-16 16:40:00 -0600 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-05-02 16:18:16 -0400 |
| commit | 2a5626eeb3b5eec7a36886f9556113dd93ec8ed6 (patch) | |
| tree | db2e17c1d5b5851cbc45ad6729732381c0a92036 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 687fe329f18ab0ab0496b20ed2cb003d4879d931 (diff) | |
drm/amd/display: Check gpio_id before used as array index
[WHY & HOW]
GPIO_ID_UNKNOWN (-1) is not a valid value for array index and therefore
should be checked in advance.
This fixes 5 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/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions