Skip to content

Fix few unrelated small bugs and issues

Andrii Nakryiko bpf netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4libbpf: fix error handling bug in btf_dump__newtools/lib/bpf/btf_dump.c+1 -00 replies
2/4libbpf: simplify BTF initialization logictools/lib/bpf/libbpf.c+6 -130 replies
3/4libbpf: fix potential multiplication overflow in mmap() size calculationtools/lib/bpf/libbpf.c+1 -10 replies
4/4bpftool: avoid const discard compilation warningtools/bpf/bpftool/jit_disasm.c+1 -12 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH bpf-next 0/4] Fix few unrelated small bugs and issues

Fix few unrelated issues, found by static analysis tools (performed against libbpf's Github repo). Also fix compilation warning in bpftool polluting selftests Makefile output.

Andrii Nakryiko (4):
libbpf: fix error handling bug in btf_dump__new
libbpf: simplify BTF initialization logic
libbpf: fix potential multiplication overflow in mmap() size
calculation
bpftool: avoid const discard compilation warning

 tools/bpf/bpftool/jit_disasm.c |  2 +-
 tools/lib/bpf/btf_dump.c       |  1 +
 tools/lib/bpf/libbpf.c         | 21 +++++++--------------
 3 files changed, 9 insertions(+), 15 deletions(-)
Signature · 1 line
2.17.1