Skip to content
Commit cbac7de1 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 3b0daecf

 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 cdfd0a7f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment