Re: [PATCH] libbpf: potential NULL dereference in usdt_manager_attach_usdt()

From: patchwork-bot+netdevbpf
Date: Thu Apr 07 2022 - 15:10:23 EST


Hello:

This patch was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko <andrii@xxxxxxxxxx>:

On Thu, 7 Apr 2022 10:38:17 +0800 you wrote:
> link could be null but still dereference bpf_link__destroy(&link->link)
> and it will lead to a null pointer access.
>
> Signed-off-by: Haowen Bai <baihaowen@xxxxxxxxx>
> ---
> tools/lib/bpf/usdt.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)

Here is the summary with links:
- libbpf: potential NULL dereference in usdt_manager_attach_usdt()
https://git.kernel.org/bpf/bpf-next/c/e58c5c971746

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html