From: Feng Yang <yangfeng@kylinos.cn>
Fix several issues in test_progs.c
v2: Fix several issues raised by sashiko-bot
v1: https://lore.kernel.org/all/20260721094404.593127-1-yangfeng59949@163.com/
Feng Yang (5):
selftests/bpf: Fix double free of subtest_state->name
selftests/bpf: Fix missing allocation null checks in test_progs.c
selftests/bpf: Use calloc to allocate subtest_states
selftests/bpf: Fix memory leak on subtest_states reallocation
selftests/bpf: Fix potential NULL pointer dereference in strscpy call
tools/testing/selftests/bpf/test_progs.c | 50 ++++++++++++++++++------
1 file changed, 39 insertions(+), 11 deletions(-)
--
2.43.0