Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torvalds/linux.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHengqi Chen <hengqi.chen@gmail.com>2022-07-12 05:57:45 +0300
committerAndrii Nakryiko <andrii@kernel.org>2022-07-13 22:02:59 +0300
commit8ed2f5a6f385b5fff313208b90ea83f7121bd909 (patch)
tree6eac39532f5954222bd4d75efe8ead2d6cc77026 /kernel/bpf
parentace2bee839e08df324cb320763258dfd72e6120e (diff)
libbpf: Error out when binary_path is NULL for uprobe and USDT
binary_path is a required non-null parameter for bpf_program__attach_usdt and bpf_program__attach_uprobe_opts. Check it against NULL to prevent coredump on strchr. Signed-off-by: Hengqi Chen <hengqi.chen@gmail.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20220712025745.2703995-1-hengqi.chen@gmail.com
Diffstat (limited to 'kernel/bpf')
0 files changed, 0 insertions, 0 deletions