Skip to content
Commit 26c56049 authored by winstang's avatar winstang Committed by Alex Deucher
Browse files

drm/amd/display: added NULL check at start of dc_validate_stream



[Why]
prevent invalid memory access

[How]
check if dc and stream are NULL

Co-authored-by: default avatarwinstang <winstang@amd.com>
Reviewed-by: default avatarAlvin Lee <alvin.lee2@amd.com>
Acked-by: default avatarZaeem Mohamed <zaeem.mohamed@amd.com>
Signed-off-by: default avatarwinstang <winstang@amd.com>
Tested-by: default avatarDaniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent ec14eab3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment