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(-) -- 2.17.1