linux/drivers/gpu/drm/amd/display
Colin Ian King a97567a06c 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: 9adc8050bf ("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>
2019-08-22 17:25:33 -05:00
..
amdgpu_dm drm/amd/display: Enable SST DSC in DM 2019-08-22 17:24:47 -05:00
dc drm/amd/display: fix a potential null pointer dereference 2019-08-22 17:25:33 -05:00
include drm/amd/display: Add Logging for Gamma Related information (2/2) 2019-08-15 10:56:46 -05:00
modules drm/amd/display: Add Logging for Gamma Related information (1/2) 2019-08-15 10:55:55 -05:00
Kconfig drm/amd/display: Add drm_audio_component support to amdgpu_dm 2019-07-11 14:37:24 -05:00
Makefile drm/amd/display: move clk_mgr files to right place 2019-05-31 10:39:31 -05:00
TODO drm/amd/display: Convert remaining loggers off dc_logger 2018-07-13 14:48:42 -05:00