diff options
author | Dave Airlie <airlied@redhat.com> | 2024-04-12 06:11:25 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2024-04-12 11:11:59 +1000 |
commit | 3b0daecfeac0103aba8b293df07a0cbaf8b43f29 (patch) | |
tree | a914344246e250cddf322f3056d2f397432e7b4c /rust/helpers/build_bug.c | |
parent | 6d8372713c6db77ce1f9ec163d37aa1b54d4a03e (diff) |
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 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions