-
Notifications
You must be signed in to change notification settings - Fork 92
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
Memory unsafety in withFilePath
in 2.8.2.0
#295
Labels
Comments
This is fixed in #294. |
Merged
Should the bytestring documentation be updated to more clearly warn about this footgun with the |
This was referenced Sep 15, 2023
Merged
If you have a moment, please do, otherwise I'll release in the morning. |
@bgamari pushed tag for your submodules: https://github.com/haskell/unix/releases/tag/v2.8.2.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Your environment
All.
Steps to reproduce
Expected behaviour
Actual behaviour
This is due to https://github.com/haskell/unix/pull/279/files#diff-e155a859a7a42c152728c6296887607bcfe0a7b0213d98573053e137ed8ebb32R157, which incorrectly relies on
strlen
on a string produced withuseCString
. This was originally noted in haskell/cabal#9241.The text was updated successfully, but these errors were encountered: