diff options
| author | Alex Hung <[email protected]> | 2024-04-24 17:08:04 -0600 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-05-02 16:18:18 -0400 |
| commit | 8e2734bf444767fed787305ccdcb36a2be5301a2 (patch) | |
| tree | db8ce61541b0ccd867bdd813f8ab163d7d4a8130 /tools/perf/scripts/python/bin | |
| parent | ecda00059b14b95a5b84f3efc1c1f341e1fd7dbc (diff) | |
drm/amd/display: Ensure index calculation will not overflow
[WHY & HOW]
Make sure vmid0p72_idx, vnom0p8_idx and vmax0p9_idx calculation will
never overflow and exceess array size.
This fixes 3 OVERRUN and 1 INTEGER_OVERFLOW 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')
0 files changed, 0 insertions, 0 deletions