Skip to content

Conversation

jbrindle
Copy link

No description provided.

Accessing the return from function().c_str() is undefined behavior
because the value returned is stored in a temporary object and
may not be valid anymore.

Please see:
https://www.securecoding.cert.org/confluence/pages/viewpage.action?pageId=29032683
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 this pull request may close these issues.

1 participant