diff options
author | 2024-11-21 12:04:13 +0330 | |
---|---|---|
committer | 2024-11-25 14:28:46 -0800 | |
commit | ef3ba8c258ee368a5343fa9329df85b4bcb9e8b5 (patch) | |
tree | 57c8aa57034107f62be938877fee81152085a197 /scripts/generate_rust_analyzer.py | |
parent | xsk: always clear DMA mapping information when unmapping the pool (diff) | |
download | wireguard-linux-ef3ba8c258ee368a5343fa9329df85b4bcb9e8b5.tar.xz wireguard-linux-ef3ba8c258ee368a5343fa9329df85b4bcb9e8b5.zip |
bpftool: fix potential NULL pointer dereferencing in prog_dump()
A NULL pointer dereference could occur if ksyms
is not properly checked before usage in the prog_dump() function.
Fixes: b053b439b72a ("bpf: libbpf: bpftool: Print bpf_line_info during prog dump")
Signed-off-by: Amir Mohammadi <amiremohamadi@yahoo.com>
Reviewed-by: Quentin Monnet <qmo@kernel.org>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Link: https://lore.kernel.org/r/20241121083413.7214-1-amiremohamadi@yahoo.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions