aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorNicholas Kazlauskas <[email protected]>2020-12-18 12:14:00 -0500
committerAlex Deucher <[email protected]>2021-01-20 16:38:19 -0500
commit44a09e3d95bd2b7b0c224100f78f335859c4e193 (patch)
treec087d109b20f8534ab74304837919d5f46e55d41 /tools/perf/scripts/python/event_analyzing_sample.py
parenteee9647490b6129a632058aa8c4be503443650f3 (diff)
drm/amd/display: Guard against NULL pointer deref when get_i2c_info fails
[Why] If the BIOS table is invalid or corrupt then get_i2c_info can fail and we dereference a NULL pointer. [How] Check that ddc_pin is not NULL before using it and log an error if it is because this is unexpected. Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Nicholas Kazlauskas <[email protected]> Reviewed-by: Eric Yang <[email protected]> Acked-by: Anson Jacob <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions