Re: [PATCH] drm/amdkfd: Fix the memory overrun

2022-11-19 Thread Kees Cook
On Mon, Nov 07, 2022 at 03:08:06PM +0800, Ma Jun wrote: > Fix the memory overrun issue caused by wrong array size. > > Signed-off-by: Ma Jun Reviewed-by: Kees Cook -- Kees Cook

Re: [PATCH] drm/amdkfd: Fix the memory overrun

2022-11-07 Thread Felix Kuehling
Am 2022-11-07 um 02:08 schrieb Ma Jun: Fix the memory overrun issue caused by wrong array size. Signed-off-by: Ma Jun Reported-by: coverity-bot Addresses-Coverity-ID: 1527133 ("Memory - corruptions") Fixes: 624693863 ("drm/amdkfd: Fix the warning of array-index-out-of-bounds")

[PATCH] drm/amdkfd: Fix the memory overrun

2022-11-06 Thread Ma Jun
Fix the memory overrun issue caused by wrong array size. Signed-off-by: Ma Jun Reported-by: coverity-bot Addresses-Coverity-ID: 1527133 ("Memory - corruptions") Fixes: 624693863 ("drm/amdkfd: Fix the warning of array-index-out-of-bounds") --- drivers/gpu/drm/amd/amdkfd/kfd_crat.c | 2 +-