aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/api/debug-internal.h
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2022-02-08 07:15:52 +0000
committerDaniel Borkmann <[email protected]>2022-02-08 21:34:44 +0000
commit4172843ed4a38f97084032f74f07b2037b5da3a6 (patch)
tree75d656643c3c8ae7f4918843ae3c902aab6b9ce1 /tools/lib/api/debug-internal.h
parentselftests/bpf: Do not export subtest as standalone test (diff)
downloadkernel-4172843ed4a38f97084032f74f07b2037b5da3a6.tar.gz
kernel-4172843ed4a38f97084032f74f07b2037b5da3a6.zip
libbpf: Fix signedness bug in btf_dump_array_data()
The btf__resolve_size() function returns negative error codes so "elem_size" must be signed for the error handling to work. Fixes: 920d16af9b42 ("libbpf: BTF dumper support for typed data") Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Yonghong Song <[email protected]> Link: https://lore.kernel.org/bpf/20220208071552.GB10495@kili
Diffstat (limited to 'tools/lib/api/debug-internal.h')
0 files changed, 0 insertions, 0 deletions