Skip to content
Commit e58c5c97 authored by Haowen Bai's avatar Haowen Bai Committed by Andrii Nakryiko
Browse files

libbpf: Potential NULL dereference in usdt_manager_attach_usdt()



link could be null but still dereference bpf_link__destroy(&link->link)
and it will lead to a null pointer access.

Signed-off-by: default avatarHaowen Bai <baihaowen@meizu.com>
Signed-off-by: default avatarAndrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/1649299098-2069-1-git-send-email-baihaowen@meizu.com
parent 502b0e3d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment