Fix bugs and issues found by static analysis in libbpf
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | libbpf: fix memory leak/double free issuetools/ | +1 | 0 replies | |
| 2/5 | libbpf: fix potential overflow issuetools/ | +1 | 0 replies | |
| 3/5 | libbpf: fix another potential overflow issue in bpf_prog_linfotools/ | +7 | 0 replies | |
| 4/5 | libbpf: make btf__resolve_size logic always check size error conditiontools/ | +1 | 0 replies | |
| 5/5 | libbpf: improve handling of corrupted ELF during map initializationtools/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH bpf-next 0/5] Fix bugs and issues found by static analysis in libbpf
Github's mirror of libbpf got LGTM and Coverity statis analysis running against it and spotted few real bugs and few potential issues. This patch series fixes found issues.
Andrii Nakryiko (5):
libbpf: fix memory leak/double free issue
libbpf: fix potential overflow issue
libbpf: fix another potential overflow issue in bpf_prog_linfo
libbpf: make btf__resolve_size logic always check size error condition
libbpf: improve handling of corrupted ELF during map initialization
tools/lib/bpf/bpf.c | 2 +- tools/lib/bpf/bpf_prog_linfo.c | 14 +++++++------- tools/lib/bpf/btf.c | 3 +-- tools/lib/bpf/libbpf.c | 6 +++--- 4 files changed, 12 insertions(+), 13 deletions(-)
Signature · 1 line
2.17.1