diff options
author | Yu Jiaoliang <yujiaoliang@vivo.com> | 2024-08-21 15:37:08 +0800 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2024-08-22 14:28:24 +0200 |
commit | b6ab50902724a27f1fc7136927c27d29f9ba01c6 (patch) | |
tree | 2f5645eba318dfcefad76b1b7334a2d67ccab432 /kernel/bpf | |
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 <yujiaoliang@vivo.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20240821073709.4067177-1-yujiaoliang@vivo.com
Diffstat (limited to 'kernel/bpf')
0 files changed, 0 insertions, 0 deletions