diff options
author | Yu Jiaoliang <[email protected]> | 2024-08-21 15:37:08 +0800 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2024-08-22 14:28:24 +0200 |
commit | b6ab50902724a27f1fc7136927c27d29f9ba01c6 (patch) | |
tree | 2f5645eba318dfcefad76b1b7334a2d67ccab432 /kernel/bpf/memalloc.c | |
parent | 1a437d35a90b7a765d9ce2c629787d22ff103252 (diff) |
bpf: Use kmemdup_array instead of kmemdup for multiple allocation
Let the kmemdup_array() take care about multiplication and possible
overflows.
Signed-off-by: Yu Jiaoliang <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'kernel/bpf/memalloc.c')
0 files changed, 0 insertions, 0 deletions