mirror-linux/drivers/gpu/drm/amd
Ma Jun 8c31b663ed drm/amdkfd: Fix the memory overrun
commit 4cc16d64b6 upstream.

Fix the memory overrun issue caused by wrong array size.

Signed-off-by: Ma Jun <Jun.Ma2@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reported-by: coverity-bot <keescook+coverity-bot@chromium.org>
Addresses-Coverity-ID: 1527133 ("Memory - corruptions")
Fixes: c0cc999f3c ("drm/amdkfd: Fix the warning of array-index-out-of-bounds")
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-03-30 12:49:31 +02:00
..
acp
amdgpu drm/amdgpu: reposition the gpu reset checking for reuse 2023-03-30 12:49:28 +02:00
amdkfd drm/amdkfd: Fix the memory overrun 2023-03-30 12:49:31 +02:00
display drm/amd/display: fix wrong index used in dccg32_set_dpstreamclk 2023-03-30 12:49:27 +02:00
include drm/amdgpu: Fix type of second parameter in odn_edit_dpm_table() callback 2022-12-31 13:33:01 +01:00
pm drm/amd/pm: bump SMU 13.0.4 driver_if header version 2023-03-22 13:34:01 +01:00