diff options
author | Qingqing Zhuo <qingqing.zhuo@amd.com> | 2020-12-10 02:04:04 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-01-14 08:17:16 +0300 |
commit | 73644143b31cb95866c19e0d94be9e3127ec3a6b (patch) | |
tree | 8234bf2a7ac088122331ced80d448c913c7cf332 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | f14a5c34d143f6627f0be70c0de1d962f3a6ff1c (diff) | |
download | linux-73644143b31cb95866c19e0d94be9e3127ec3a6b.tar.xz |
drm/amd/display: NULL pointer hang
[Why]
In dc_link_dp_set_test_pattern, we assume all pipes have a stream, which
can cause null pointer dereference.
[How]
Add a null pointer check before accessing stream.
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions