Skip to content

Ensure that memory is not freed before calling free_fast_fallback_getaddrinfo_* #12661

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

Merged
merged 1 commit into from
Jan 29, 2025

Conversation

shioimm
Copy link
Contributor

@shioimm shioimm commented Jan 29, 2025

Ensure that getaddrinfo_entry and getaddrinfo_shared exist before free them in the main thread.

…taddrinfo_*`

Ensure that `getaddrinfo_entry` and `getaddrinfo_shared` exist before free them in the main thread.
Copy link

launchable-app bot commented Jan 29, 2025

All Tests passed!

✖️no tests failed ✔️61782 tests passed(2 flakes)

@shioimm shioimm merged commit 63b6323 into ruby:master Jan 29, 2025
78 checks passed
@shioimm shioimm deleted the fix-heap-use-after-free branch January 29, 2025 13:19
XrXr pushed a commit to Shopify/ruby that referenced this pull request Jun 18, 2025
…taddrinfo_*` (ruby#12661)

Ensure that `getaddrinfo_entry` and `getaddrinfo_shared` exist before free them in the main thread.
k0kubun pushed a commit that referenced this pull request Jun 18, 2025
…taddrinfo_*` (#12661)

Ensure that `getaddrinfo_entry` and `getaddrinfo_shared` exist before free them in the main thread.
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.

1 participant