Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 5b747c23 authored by Alan Maguire's avatar Alan Maguire Committed by Daniel Borkmann
Browse files

libbpf: Fix error handling in btf__distill_base()

Coverity points out that after calling btf__new_empty_split() the wrong
value is checked for error.

Fixes: 58e185a0

 ("libbpf: Add btf__distill_base() creating split BTF with distilled base BTF")
Reported-by: default avatarAndrii Nakryiko <andrii@kernel.org>
Signed-off-by: default avatarAlan Maguire <alan.maguire@oracle.com>
Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20240629100058.2866763-1-alan.maguire@oracle.com
parent c77e572d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment