Skip to content

Commit d55db83

Browse files
committed
C++: Remove implied conjunct.
1 parent 51d04cb commit d55db83

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

cpp/ql/src/Security/CWE/CWE-190/ComparisonWithWiderType.ql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ where
5252
forall(Expr conv | conv = large.getConversion*() |
5353
upperBound(conv).log2() > getComparisonSize(small) * 8
5454
) and
55-
upperBound(large.getFullyConverted()).log2() > getComparisonSize(small) * 8 and
5655
// Ignore cases where the smaller type is int or larger
5756
// These are still bugs, but you should need a very large string or array to
5857
// trigger them. We will want to disable this for some applications, but it's

0 commit comments

Comments
 (0)