We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51d04cb commit d55db83Copy full SHA for d55db83
cpp/ql/src/Security/CWE/CWE-190/ComparisonWithWiderType.ql
@@ -52,7 +52,6 @@ where
52
forall(Expr conv | conv = large.getConversion*() |
53
upperBound(conv).log2() > getComparisonSize(small) * 8
54
) and
55
- upperBound(large.getFullyConverted()).log2() > getComparisonSize(small) * 8 and
56
// Ignore cases where the smaller type is int or larger
57
// These are still bugs, but you should need a very large string or array to
58
// trigger them. We will want to disable this for some applications, but it's
0 commit comments