kernel_samsung_a53x/drivers/gpu/drm/amd/display/modules/hdcp
Hersen Wu caf6cbca4e 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>
2024-11-23 23:20:57 +01:00
..
hdcp.c drm/amd/display: revert Exit idle optimizations before HDCP execution 2024-11-19 14:19:10 +01:00
hdcp.h
hdcp1_execution.c
hdcp1_transition.c
hdcp2_execution.c
hdcp2_transition.c
hdcp_ddc.c drm/amd/display: Add array index check for hdcp ddc access 2024-11-23 23:20:57 +01:00
hdcp_log.c
hdcp_log.h
hdcp_psp.c
hdcp_psp.h
Makefile