]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
tools resolve_btfids: Add size check to get_id function
authorJiri Olsa <jolsa@kernel.org>
Tue, 25 Aug 2020 19:21:11 +0000 (21:21 +0200)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 25 Aug 2020 22:37:41 +0000 (15:37 -0700)
commit193a983c5bc4c62f66d62a9a6f9084cf3f2a0db2
tree7d495677e76d509c4b3d16904e07e913ed7c0a3f
parent2532f849b5134c4c62a20e5aaca33d9fb08af528
tools resolve_btfids: Add size check to get_id function

To make sure we don't crash on malformed symbols.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Link: https://lore.kernel.org/bpf/20200825192124.710397-2-jolsa@kernel.org
tools/bpf/resolve_btfids/main.c