summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2019-08-17 01:10:11 +0300
committerAlex Deucher <alexander.deucher@amd.com>2019-08-23 01:25:33 +0300
commita97567a06c1ab0e2736cca1515ee635dad888d37 (patch)
tree0ef4e8d6a3df1d9ed955dcbd5c01c308bacb28bf /tools/perf/scripts/python/exported-sql-viewer.py
parenta13362c1c96d1450d59180631233844cb94a7907 (diff)
downloadlinux-a97567a06c1ab0e2736cca1515ee635dad888d37.tar.xz
drm/amd/display: fix a potential null pointer dereference
Currently the pointer init_data is dereferenced on the assignment of fw_info before init_data is sanity checked to see if it is null. Fix te potential null pointer dereference on init_data by only performing dereference after it is null checked. Addresses-Coverity: ("Dereference before null check") Fixes: 9adc8050bf3c ("drm/amd/display: make firmware info only load once during dc_bios create") Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions