Query module ComparisonWithWiderType

name
Comparison of narrow type with wide type in loop condition
description
Comparisons between types of different widths in a loop condition can cause the loop to behave unexpectedly.
kind
problem
problem.severity
warning
precision
medium
id
java/comparison-with-wider-type
tags
reliability security external/cwe/cwe-190 external/cwe/cwe-197

Imports

Overflow
java

Provides all default Java QL imports.

Predicates

Classes