mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-26 19:14:18 +00:00
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>
This commit is contained in:
parent
0ccfb8e07e
commit
315eb3c2df
1 changed files with 2 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue