kernel_samsung_a53x/drivers/gpu/drm/amd/display
Alex Hung f978a1357c drm/amd/display: Check msg_id before processing transcation
[ Upstream commit fa71face755e27dc44bc296416ebdf2c67163316 ]

[WHY & HOW]
HDCP_MESSAGE_ID_INVALID (-1) is not a valid msg_id nor is it a valid
array index, and it needs checking before used.

This fixes 4 OVERRUN issues reported by Coverity.

Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Acked-by: Tom Chung <chiahsuan.chung@amd.com>
Signed-off-by: Alex Hung <alex.hung@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
..
amdgpu_dm drm/amd/display: Stop amdgpu_dm initialize when stream nums greater than 6 2024-11-23 23:20:57 +01:00
dc drm/amd/display: Check msg_id before processing transcation 2024-11-23 23:20:57 +01:00
dmub drm/amd/display: Change the DMCUB mailbox memory location from FB to inbox 2024-11-18 11:43:32 +01:00
include Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
modules drm/amd/display: Add array index check for hdcp ddc access 2024-11-23 23:20:57 +01:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
TODO Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00