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(env) localize environ pointer and early return on nil #8581

Merged
merged 1 commit into from
Mar 23, 2022
Merged

Conversation

fffonion
Copy link
Contributor

ffi.C.environ's address can change during realloc, this patch
avoid globalize it to prevent pointing to wrong memory address

cc @aboudreault

ffi.C.environ's address can change during realloc, this patch
avoid globalize it to prevent pointing to wrong memory address
@dndx dndx merged commit 8723afc into master Mar 23, 2022
@dndx dndx deleted the fix/env branch March 23, 2022 07:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants