Skip to content

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

Merged
chrchr-github merged 4 commits into
cppcheck-opensource:mainfrom
chrchr-github:chr_13560
Jan 16, 2025
Merged

Fix #10902 / #13560 FN danglingLifetime (stack address stored in static variable)#7225
chrchr-github merged 4 commits into
cppcheck-opensource:mainfrom
chrchr-github:chr_13560

Conversation

@chrchr-github
Copy link
Copy Markdown
Collaborator

No description provided.

@firewave
Copy link
Copy Markdown
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
Copy Markdown
Collaborator Author

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

Yes it is, test added.

@chrchr-github chrchr-github merged commit 74da655 into cppcheck-opensource:main Jan 16, 2025
@chrchr-github chrchr-github deleted the chr_13560 branch January 16, 2025 09:41
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