diff options
author | Hersen Wu <hersenxs.wu@amd.com> | 2024-04-24 10:09:31 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-09-08 07:53:05 +0200 |
commit | f338f99f6a04d03c802087d82a83561cbd5bdc99 (patch) | |
tree | 4024a63ef2bfb67a4e4377a673c95198bfe4706c /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | 28b515c458aa9c92bfcb99884c94713a5f471cea (diff) |
drm/amd/display: Add array index check for hdcp ddc access
[ Upstream commit 4e70c0f5251c25885c31ee84a31f99a01f7cf50e ]
[Why]
Coverity reports OVERRUN warning. Do not check if array
index valid.
[How]
Check msg_id valid and valid array index.
Reviewed-by: Alex Hung <alex.hung@amd.com>
Acked-by: Tom Chung <chiahsuan.chung@amd.com>
Signed-off-by: Hersen Wu <hersenxs.wu@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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions