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

Feng Yang posted 5 patches 1 day, 12 hours ago
tools/testing/selftests/bpf/test_progs.c | 27 ++++++++++++++----------
1 file changed, 16 insertions(+), 11 deletions(-)
[PATCH v3 bpf-next 0/5] selftests/bpf: Fix several issues in test_progs.c
Posted by Feng Yang 1 day, 12 hours ago
From: Feng Yang <yangfeng@kylinos.cn>

Fix several issues in test_progs.c

v3: Add fix incorrect error checking for pthread_create patch
    Memory allocation null checks for the worker logic are relatively complex;
    remove them for now and submit them separately in a follow-up patch.

v2: Fix several issues raised by sashiko-bot
    https://lore.kernel.org/all/20260722074748.674080-1-yangfeng59949@163.com/

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 incorrect error checking for pthread_create
  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

 tools/testing/selftests/bpf/test_progs.c | 27 ++++++++++++++----------
 1 file changed, 16 insertions(+), 11 deletions(-)

-- 
2.43.0