Commit 6bf9201
drm/amd/display: added NULL check at start of dc_validate_stream
[ Upstream commit 26c5604 ]
[Why]
prevent invalid memory access
[How]
check if dc and stream are NULL
Co-authored-by: winstang <winstang@amd.com>
Reviewed-by: Alvin Lee <alvin.lee2@amd.com>
Acked-by: Zaeem Mohamed <zaeem.mohamed@amd.com>
Signed-off-by: winstang <winstang@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>1 parent 80a9848 commit 6bf9201
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4672 | 4672 | | |
4673 | 4673 | | |
4674 | 4674 | | |
| 4675 | + | |
| 4676 | + | |
| 4677 | + | |
4675 | 4678 | | |
4676 | 4679 | | |
4677 | 4680 | | |
| |||
0 commit comments