Re: [PATCH v3] bpftool: fix potential NULL pointer dereferencing in prog_dump()
From: patchwork-bot+netdevbpf
Date: Mon Nov 25 2024 - 17:31:04 EST
Hello:
This patch was applied to bpf/bpf.git (master)
by Alexei Starovoitov <ast@xxxxxxxxxx>:
On Thu, 21 Nov 2024 12:04:13 +0330 you wrote:
> 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@xxxxxxxxx>
> ---
> tools/bpf/bpftool/prog.c | 17 ++++++++++++-----
> 1 file changed, 12 insertions(+), 5 deletions(-)
Here is the summary with links:
- [v3] bpftool: fix potential NULL pointer dereferencing in prog_dump()
https://git.kernel.org/bpf/bpf/c/ef3ba8c258ee
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html