aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorHarry Wentland <[email protected]>2022-04-19 13:03:12 -0400
committerAlex Deucher <[email protected]>2022-05-04 09:51:40 -0400
commit0ee42ab70118ace9a09861bccaaf43e9779fa91e (patch)
treeefae47f7865d28defdb003fb0f5fa246d291b4f9 /tools/perf/scripts/python/flamegraph.py
parent3da2c38231a4c62dafdbd762a199cfacaccd0533 (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/flamegraph.py')
0 files changed, 0 insertions, 0 deletions