Skip to content

Fix #11423 Crash in valueFlowForwardConst()#4621

Closed
chrchr-github wants to merge 1 commit into
cppcheck-opensource:mainfrom
chrchr-github:chr_Fix11423
Closed

Fix #11423 Crash in valueFlowForwardConst()#4621
chrchr-github wants to merge 1 commit into
cppcheck-opensource:mainfrom
chrchr-github:chr_Fix11423

Conversation

@chrchr-github
Copy link
Copy Markdown
Collaborator

No description provided.

@danmar
Copy link
Copy Markdown
Collaborator

danmar commented Dec 8, 2022

I guess the exception in #4623 might be preferable.

@pfultz2
Copy link
Copy Markdown
Contributor

pfultz2 commented Dec 8, 2022

Yea, this will hide the problem instead of fixing it.

@chrchr-github
Copy link
Copy Markdown
Collaborator Author

I must admit I did not investigate this further. What is the real problem then?

@pfultz2
Copy link
Copy Markdown
Contributor

pfultz2 commented Dec 9, 2022

What is the real problem then?

Either the scope is not set correctly for the variable, or we are not getting the end of scope for the variable correctly.

@chrchr-github chrchr-github deleted the chr_Fix11423 branch December 12, 2022 12:15
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.

3 participants