diff options
| author | Andy Shevchenko <[email protected]> | 2024-04-29 12:00:05 +0000 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2024-04-29 23:13:14 +0000 |
| commit | a3034872cd90a6881ad4e10ca6d30e1215a99ada (patch) | |
| tree | 4e8c7500b29b275356a9a793c60009ee59b865ee /tools/testing/selftests/bpf/prog_tests/cgroup1_hierarchy.c | |
| parent | bpf: Use struct_size() (diff) | |
| download | kernel-a3034872cd90a6881ad4e10ca6d30e1215a99ada.tar.gz kernel-a3034872cd90a6881ad4e10ca6d30e1215a99ada.zip | |
bpf: Switch to krealloc_array()
Let the krealloc_array() copy the original data and
check for a multiplication overflow.
Signed-off-by: Andy Shevchenko <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/cgroup1_hierarchy.c')
0 files changed, 0 insertions, 0 deletions
