[PATCH v2 bpf-next 0/5] Fix several issues in test_progs.c

Feng Yang posted 5 patches 2 days, 15 hours ago
tools/testing/selftests/bpf/test_progs.c | 50 ++++++++++++++++++------
1 file changed, 39 insertions(+), 11 deletions(-)
[PATCH v2 bpf-next 0/5] Fix several issues in test_progs.c
Posted by Feng Yang 2 days, 15 hours ago
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