diff options
| author | Harry Wentland <[email protected]> | 2022-04-19 13:03:12 -0400 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-05-04 09:51:40 -0400 |
| commit | 0ee42ab70118ace9a09861bccaaf43e9779fa91e (patch) | |
| tree | efae47f7865d28defdb003fb0f5fa246d291b4f9 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 3da2c38231a4c62dafdbd762a199cfacaccd0533 (diff) | |
drm/amd/display: Avoid reading audio pattern past AUDIO_CHANNELS_COUNT
A faulty receiver might report an erroneous channel count. We
should guard against reading beyond AUDIO_CHANNELS_COUNT as
that would overflow the dpcd_pattern_period array.
Signed-off-by: Harry Wentland <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions