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 3d59f5b commit 216393fCopy full SHA for 216393f
java/ql/lib/semmle/code/java/security/NumericCastTaintedQuery.qll
@@ -106,8 +106,9 @@ module NumericCastFlowConfig implements DataFlow::ConfigSig {
106
predicate observeDiffInformedIncrementalMode() { any() }
107
108
Location getASelectedSinkLocation(DataFlow::Node sink) {
109
- exists(NumericNarrowingCastExpr cast |
110
- cast.getExpr() = sink.asExpr() and
+ exists(NumericNarrowingCastExpr cast | cast.getExpr() = sink.asExpr() |
+ result = sink.getLocation()
111
+ or
112
result = cast.getLocation()
113
)
114
}
0 commit comments