Commit 32915dc9 authored by Ma Jun's avatar Ma Jun Committed by Greg Kroah-Hartman
Browse files

drm/amdgpu: Fix out-of-bounds read of df_v1_7_channel_number



[ Upstream commit d768394f ]

Check the fb_channel_number range to avoid the array out-of-bounds
read error

Signed-off-by: default avatarMa Jun <Jun.Ma2@amd.com>
Reviewed-by: default avatarTim Huang <Tim.Huang@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent cf2db220
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment