public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH bpf-next 0/5] Fix bugs found by ASAN when running selftests
@ 2022-10-09 13:18 Xu Kuohai
  2022-10-09 13:18 ` [PATCH bpf-next 1/5] libbpf: Fix use-after-free in btf_dump_name_dups Xu Kuohai
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Xu Kuohai @ 2022-10-09 13:18 UTC (permalink / raw)
  To: bpf, linux-kernel, linux-kselftest, netdev
  Cc: Alexei Starovoitov, Daniel Borkmann, Andrii Nakryiko,
	Martin KaFai Lau, Song Liu, Yonghong Song, John Fastabend,
	KP Singh, Stanislav Fomichev, Hao Luo, Jiri Olsa, Mykola Lysenko,
	Shuah Khan, David S . Miller, Jakub Kicinski,
	Jesper Dangaard Brouer, Hou Tao, Dmitrii Dolgov, Alan Maguire,
	Kui-Feng Lee, Kumar Kartikeya Dwivedi

From: Xu Kuohai <xukuohai@huawei.com>

Xu Kuohai (5):
  libbpf: Fix use-after-free in btf_dump_name_dups
  libbpf: Fix memory leak in parse_usdt_arg()
  selftests/bpf: Fix memory leak caused by not destroying skeleton
  selftest/bpf: Fix memory leak in kprobe_multi_test
  selftest/bpf: Fix error usage of ASSERT_OK in xdp_adjust_tail.c

 tools/lib/bpf/btf_dump.c                      | 47 +++++++++++----
 tools/lib/bpf/usdt.c                          | 59 +++++++++++--------
 .../selftests/bpf/prog_tests/bpf_iter.c       |  4 +-
 .../bpf/prog_tests/kprobe_multi_test.c        | 17 +++---
 .../selftests/bpf/prog_tests/map_kptr.c       |  3 +-
 .../selftests/bpf/prog_tests/tracing_struct.c |  3 +-
 .../bpf/prog_tests/xdp_adjust_tail.c          |  6 +-
 7 files changed, 88 insertions(+), 51 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-10-10  9:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-09 13:18 [PATCH bpf-next 0/5] Fix bugs found by ASAN when running selftests Xu Kuohai
2022-10-09 13:18 ` [PATCH bpf-next 1/5] libbpf: Fix use-after-free in btf_dump_name_dups Xu Kuohai
2022-10-09 13:18 ` [PATCH bpf-next 2/5] libbpf: Fix memory leak in parse_usdt_arg() Xu Kuohai
2022-10-09 13:18 ` [PATCH bpf-next 3/5] selftests/bpf: Fix memory leak caused by not destroying skeleton Xu Kuohai
2022-10-09 13:18 ` [PATCH bpf-next 4/5] selftest/bpf: Fix memory leak in kprobe_multi_test Xu Kuohai
2022-10-10  9:01   ` Jiri Olsa
2022-10-09 13:18 ` [PATCH bpf-next 5/5] selftest/bpf: Fix error usage of ASSERT_OK in xdp_adjust_tail.c Xu Kuohai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox