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 02a0eef commit e5c8d6eCopy full SHA for e5c8d6e
java/ql/lib/semmle/code/java/security/ArithmeticUncontrolledQuery.qll
@@ -25,6 +25,8 @@ module ArithmeticUncontrolledOverflowConfig implements DataFlow::ConfigSig {
25
}
26
27
Location getASelectedSinkLocation(DataFlow::Node sink) {
28
+ result = sink.getLocation()
29
+ or
30
exists(ArithExpr exp | result = exp.getLocation() | overflowSink(exp, sink.asExpr()))
31
32
@@ -46,6 +48,8 @@ module ArithmeticUncontrolledUnderflowConfig implements DataFlow::ConfigSig {
46
48
47
49
50
51
52
53
exists(ArithExpr exp | result = exp.getLocation() | underflowSink(exp, sink.asExpr()))
54
55
0 commit comments