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

into_string() doesn't check malloc return value. #19305

Closed
KokaKiwi opened this issue Nov 25, 2014 · 0 comments · Fixed by #19308
Closed

into_string() doesn't check malloc return value. #19305

KokaKiwi opened this issue Nov 25, 2014 · 0 comments · Fixed by #19308

Comments

@KokaKiwi
Copy link

When doing a simple line like "toto".into_string(), the generated code doesn't have any malloc return value check (which is done with boxxed values).

Issue code here: https://gist.github.com/KokaKiwi/b33f7526185f823fc99a (My Rust version is in the Gist)

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 a pull request may close this issue.

1 participant