Skip to content

Java: Add ConditionalExpr to overflow candidate pattern.#2305

Merged
yh-semmle merged 1 commit intogithub:masterfrom
aschackmull:java/overflowcheck-conditionalexpr
Nov 12, 2019
Merged

Java: Add ConditionalExpr to overflow candidate pattern.#2305
yh-semmle merged 1 commit intogithub:masterfrom
aschackmull:java/overflowcheck-conditionalexpr

Conversation

@aschackmull
Copy link
Copy Markdown
Contributor

This updates the overflow candidate patterns in UselessComparisonTest.ql to catch a few more tests involving ConditionalExpr. This fixes the FP reported on #2234

@yh-semmle yh-semmle merged commit 6a16eb8 into github:master Nov 12, 2019
@aschackmull aschackmull deleted the java/overflowcheck-conditionalexpr branch November 13, 2019 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants