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 #12833 FP knownConditionTrueFalse regression #6514

Merged

Conversation

mptre
Copy link
Contributor

@mptre mptre commented Jun 11, 2024

Performing arithmetic on two pointers is not guaranteed to always yield a non-zero value.

Introduced in commit ac0bd6d ("Fix 12760: FN knownConditionTrueFalse for pointer + offset (#6491)").

Performing arithmetic on two pointers is not guaranteed to always yield a
non-zero value.

Introduced in commit ac0bd6d ("Fix 12760: FN knownConditionTrueFalse for
pointer + offset (danmar#6491)").
@chrchr-github
Copy link
Collaborator

I have created https://trac.cppcheck.net/ticket/12833

@chrchr-github chrchr-github changed the title Fix FP knownConditionTrueFalse regression Fix #12833 FP knownConditionTrueFalse regression Jun 12, 2024
@chrchr-github chrchr-github merged commit 5ef9ba0 into danmar:main Jun 12, 2024
63 checks passed
@mptre mptre deleted the known-condition-true-false-regression branch November 14, 2024 07:44
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