netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH bpf v2 0/5] Fix bugs found by ASAN when running selftests
@ 2022-10-10  7:04 Xu Kuohai
  2022-10-10  7:04 ` [PATCH bpf v2 1/5] libbpf: Fix use-after-free in btf_dump_name_dups Xu Kuohai
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Xu Kuohai @ 2022-10-10  7:04 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,
	Kumar Kartikeya Dwivedi, Lorenzo Bianconi

v2:
- Rebase and fix conflict

v1: https://lore.kernel.org/bpf/20221009131830.395569-1-xukuohai@huaweicloud.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 +++++++++++--------
 .../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 +-
 6 files changed, 85 insertions(+), 50 deletions(-)

-- 
2.30.2


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

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

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-10  7:04 [PATCH bpf v2 0/5] Fix bugs found by ASAN when running selftests Xu Kuohai
2022-10-10  7:04 ` [PATCH bpf v2 1/5] libbpf: Fix use-after-free in btf_dump_name_dups Xu Kuohai
2022-10-10  7:04 ` [PATCH bpf v2 2/5] libbpf: Fix memory leak in parse_usdt_arg() Xu Kuohai
2022-10-10  7:04 ` [PATCH bpf v2 3/5] selftests/bpf: Fix memory leak caused by not destroying skeleton Xu Kuohai
2022-10-10  7:04 ` [PATCH bpf v2 4/5] selftest/bpf: Fix memory leak in kprobe_multi_test Xu Kuohai
2022-10-10  7:04 ` [PATCH bpf v2 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;
as well as URLs for NNTP newsgroup(s).