aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHaowen Bai <[email protected]>2022-03-24 17:27:14 +0800
committerAlex Deucher <[email protected]>2022-03-31 23:05:53 -0400
commit3222a81148ca273af66cb67f8445114bc633e747 (patch)
treecc6935219b7d54d7ac185afb9353b32f4538867a /tools/perf/scripts/python
parentc4af42b4eb5beb6f5ae96b5be786862bbb9cfb16 (diff)
drm/amd/display: Fix pointer dereferenced before checking
The pointer edid_buf is dereferencing pointer edid before edid is being null checked. Fix this by assigning edid->raw_edid to edid_buf only if edid is not NULL, otherwise just NULL. Signed-off-by: Haowen Bai <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions