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

src: do not get string_view from temp string #53688

Merged
merged 1 commit into from
Jul 5, 2024

Commits on Jul 2, 2024

  1. src: do not get string_view from temp string

    The result of std::string().substr() will be destroyed at the end of
    expression and creating std::string_view from it results in dangling
    pointer.
    zcbenz committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    137914a View commit details
    Browse the repository at this point in the history