diff options
| author | 2026-02-23 11:07:30 -0800 | |
|---|---|---|
| committer | 2026-02-24 08:19:49 -0800 | |
| commit | 68b8bea1eec392aa50736a859b8f1418067a3bc4 (patch) | |
| tree | 2d968bb6220eba791adb5ccab8b575a93aa4a14a /tools/perf/scripts/python/stackcollapse.py | |
| parent | selftests/bpf: Fix use-after-free in xdp_metadata test (diff) | |
selftests/bpf: Fix double thread join in uprobe_multi_test
ASAN reported a "joining already joined thread" error. The
release_child() may be called multiple times for the same struct
child.
Fix by resetting child->thread to 0 after pthread_join.
Also memset(0) static child variable in test_attach_api().
Acked-by: Mykyta Yatsenko <yatsenko@meta.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>
Link: https://lore.kernel.org/r/20260223190736.649171-15-ihor.solodrai@linux.dev
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
