Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8b056470 authored by Dave Airlie's avatar Dave Airlie Committed by Greg Kroah-Hartman
Browse files

amdkfd: use calloc instead of kzalloc to avoid integer overflow



commit 3b0daecfeac0103aba8b293df07a0cbaf8b43f29 upstream.

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

Cc: stable@vger.kernel.org
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 24489321
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