Skip to content
Commit 193a983c authored by Jiri Olsa's avatar Jiri Olsa Committed by Alexei Starovoitov
Browse files

tools resolve_btfids: Add size check to get_id function



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

Signed-off-by: default avatarJiri Olsa <jolsa@kernel.org>
Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
Acked-by: default avatarAndrii Nakryiko <andriin@fb.com>
Link: https://lore.kernel.org/bpf/20200825192124.710397-2-jolsa@kernel.org
parent 2532f849
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