aboutsummaryrefslogtreecommitdiffstats
path: root/lib/usercopy.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2024-04-12 06:11:25 +1000
committerDave Airlie <airlied@redhat.com>2024-04-12 11:11:59 +1000
commit3b0daecfeac0103aba8b293df07a0cbaf8b43f29 (patch)
treea914344246e250cddf322f3056d2f397432e7b4c /lib/usercopy.c
parentMerge tag 'drm-msm-next-2024-04-11' of https://gitlab.freedesktop.org/drm/msm into drm-fixes (diff)
downloadlinux-rng-3b0daecfeac0103aba8b293df07a0cbaf8b43f29.tar.xz
linux-rng-3b0daecfeac0103aba8b293df07a0cbaf8b43f29.zip
amdkfd: use calloc instead of kzalloc to avoid integer overflow
This uses calloc instead of doing the multiplication which might overflow. Cc: stable@vger.kernel.org Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'lib/usercopy.c')
0 files changed, 0 insertions, 0 deletions