iovisor / iovisor/bcc

A call to bpf_attach_kprobe() with incorect string in fn_name result in SIGSEGV.

Open
#939 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
22.7k
Forks
4.1k
Avg merge
10d 4h
Merged PRs (30d)
3

Description

May be it is good idea to check that arg and return an error?

@marcinslusarz, @GBuella, @ldorau, @plebioda, @sarahjelinek

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the bpf_attach_kprobe() entry point and trace how the fn_name argument is handled when it is malformed. Add regression coverage for the incorrect string case and verify that the call returns an error instead of causing SIGSEGV.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux
Domain
devtools, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.