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

Handle null pointer in async_cb_dispatcher mark and free #1051

Merged
merged 2 commits into from Sep 25, 2023

Conversation

casperisfine
Copy link

Fix: #1050

I don't fully understand that code, so my fix might be totally off. But according to production crashes, ctx might be NULL sometimes.

cc @larskanis

Fix: ffi#1050

I don't fully understand that code, so my fix might be totally
off. But according to production crashes, `ctx` might be NULL
sometimes.
@larskanis larskanis merged commit b7d7c21 into ffi:master Sep 25, 2023
39 checks passed
@larskanis
Copy link
Member

Thanks Jean for the fix! Will release ffi-1.16.2 with it.

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 in async_cb_dispatcher_mark following an upgrade to ffi 1.16.1
3 participants