Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix accessing ctx #2343

Merged
merged 1 commit into from
Aug 26, 2022
Merged

Fix accessing ctx #2343

merged 1 commit into from
Aug 26, 2022

Conversation

viktormalik
Copy link
Contributor

There was a typo when assigning type of the ctx builtin which caused a segfault when trying to access its fields.

Fixes #2342.

Checklist
  • Language changes are updated in man/adoc/bpftrace.adoc and if needed in docs/reference_guide.md
  • User-visible and non-trivial changes updated in CHANGELOG.md
  • The new behaviour is covered by tests

There was a typo when assigning type of the "ctx" builtin which caused a
segfault when trying to access its fields.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Segfault when dereferencing "ctx" in kprobe
2 participants