Skip to content
Commit 4cc16d64 authored by Ma Jun's avatar Ma Jun Committed by Alex Deucher
Browse files

drm/amdkfd: Fix the memory overrun



Fix the memory overrun issue caused by wrong array size.

Signed-off-by: default avatarMa Jun <Jun.Ma2@amd.com>
Reviewed-by: default avatarFelix Kuehling <Felix.Kuehling@amd.com>
Reported-by: default avatarcoverity-bot <keescook+coverity-bot@chromium.org>
Addresses-Coverity-ID: 1527133 ("Memory - corruptions")
Fixes: c0cc999f ("drm/amdkfd: Fix the warning of array-index-out-of-bounds")
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 407a5bdd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment