We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
decodeFile
Even if decodeFile fails to open a file, fclose is called via addForeignPtrFinalizerEnv, thus segfaults.
fclose
addForeignPtrFinalizerEnv
Possible fixes:
fclose_helper
The text was updated successfully, but these errors were encountered:
Segfaults when decodeFile throws "file not found" (#5)
9ec21cb
Thanks for the report. I just pushed a commit that should address, can you confirm before I release?
Sorry, something went wrong.
I have confirmed it. Thank you.
No branches or pull requests
Even if
decodeFile
fails to open a file,fclose
is called viaaddForeignPtrFinalizerEnv
, thus segfaults.Possible fixes:
fclose
infclose_helper
addForeignPtrFinalizerEnv
just after NULL-checkThe text was updated successfully, but these errors were encountered: