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

Fix #10902 / #13560 FN danglingLifetime (stack address stored in static variable) #7225

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

chrchr-github
Copy link
Collaborator

No description provided.

@firewave
Copy link
Collaborator

I think this is a duplicate of https://trac.cppcheck.net/ticket/10902 (and possibly pothers).

@chrchr-github chrchr-github changed the title Fix #13560 FN danglingLifetime (stack address stored in static variable) Fix #10902 / #13560 FN danglingLifetime (stack address stored in static variable) Jan 15, 2025
@chrchr-github
Copy link
Collaborator Author

I think this is a duplicate of https://trac.cppcheck.net/ticket/10902 (and possibly pothers).

Yes it is, test added.

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