Skip to content

Fix 12681: FP: knownConditionTrueFalse#6416

Merged
chrchr-github merged 3 commits into
cppcheck-opensource:mainfrom
francois-berder:fix-12681
May 21, 2024
Merged

Fix 12681: FP: knownConditionTrueFalse#6416
chrchr-github merged 3 commits into
cppcheck-opensource:mainfrom
francois-berder:fix-12681

Conversation

@francois-berder
Copy link
Copy Markdown
Collaborator

While truncating integer values for upper/lower bounds, underflows/overflows must be handled correctly by
inverting the bound.

While truncating integer values for upper/lower bounds,
underflows/overflows must be handled correctly by
inverting the bound.

Signed-off-by: Francois Berder <fberder@outlook.fr>
Comment thread lib/valueflow.cpp Outdated
@chrchr-github chrchr-github merged commit 374e85d into cppcheck-opensource:main May 21, 2024
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