Files
linux-stable-mirror/drivers/gpu/drm/amd/amdkfd
Dave AirlieandGreg Kroah-Hartman 315eb3c2df amdkfd: use calloc instead of kzalloc to avoid integer overflow
commit 3b0daecfea upstream.

This uses calloc instead of doing the multiplication which might
overflow.

Cc: stable@vger.kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-04-13 13:07:28 +02:00
..