Skip to content

Do not use c_str() beyond its scope #425

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

Merged
merged 1 commit into from
Apr 10, 2024

Conversation

ldorau
Copy link
Contributor

@ldorau ldorau commented Apr 10, 2024

Description

Do not use c_str() beyond its scope.
It fixes the Coverity issue #449676

Checklist

  • Code compiles without errors locally
  • All tests pass locally
  • CI workflows execute properly

Do not use c_str() beyond its scope.
It fixes the Coverity issue #449676.

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
@ldorau ldorau requested a review from a team as a code owner April 10, 2024 08:16
@ldorau ldorau merged commit 5f4652f into oneapi-src:main Apr 10, 2024
69 checks passed
@ldorau ldorau deleted the Do_not_use_c_str_beyond_its_scope branch April 10, 2024 08:51
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.

2 participants