-
Notifications
You must be signed in to change notification settings - Fork 13
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
Nondeterministic output with garbled strings #14
Comments
We need that null terminator! |
Good catch, that was silly of me. I’ve proposed the addition of |
Anders Kaseorg <notifications@github.com> writes:
Good catch, that was silly of me. I’ve proposed the addition of `withCString` to Data.Text in haskell/text#254.
That would be a good addition indeed!
|
Thanks for the update again! ❤️ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I suspect this is a memory handling bug related to PR #13; see the discussion there.
@andersk can you have a look? I'm almost positive it's an issue with your PR, rather than with cmark.
@kivikakk this affects cmark-gfm too.
If a quick fix is not forthcoming, we should roll back PR #13 and make a new release.
Also reproducible with other strings:
Affects other writers as well:
The text was updated successfully, but these errors were encountered: