diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2024-04-29 15:00:05 +0300 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2024-04-29 16:13:14 -0700 |
commit | a3034872cd90a6881ad4e10ca6d30e1215a99ada (patch) | |
tree | 4e8c7500b29b275356a9a793c60009ee59b865ee /tools/testing/selftests/bpf/prog_tests/cgroup1_hierarchy.c | |
parent | cb01621b6d91567ac74c8b95e4db731febdbdec3 (diff) |
bpf: Switch to krealloc_array()
Let the krealloc_array() copy the original data and
check for a multiplication overflow.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Yonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/bpf/20240429120005.3539116-1-andriy.shevchenko@linux.intel.com
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/cgroup1_hierarchy.c')
0 files changed, 0 insertions, 0 deletions