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 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hdcp1_execution.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hdcp1_transition.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hdcp2_execution.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hdcp2_transition.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
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 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hdcp_log.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hdcp_psp.c drm/amd/display: Return the correct HDCP error code 2024-11-19 09:22:37 +01:00
hdcp_psp.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00