diff options
author | Harry Wentland <harry.wentland@amd.com> | 2022-04-19 13:03:12 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-05-04 12:21:41 -0400 |
commit | 3dfe85fa87b2a26bdbd292b66653bba065cf9941 (patch) | |
tree | 7d85235b7042fd3d3281121d7cecf8f1b2b63a68 /tools/perf/scripts/python/stackcollapse.py | |
parent | 19965d8259fdabc6806da92adda49684f5bcbec5 (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 <harry.wentland@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions