Skip to content

Commit ef28295

Browse files
committed
Sync SqlTaintedLocalQuery with SqlInjectionQuery
1 parent e4f5679 commit ef28295

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

java/ql/lib/semmle/code/java/security/SqlTaintedLocalQuery.qll

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ module LocalUserInputToQueryInjectionFlowConfig implements DataFlow::ConfigSig {
1717
predicate isSink(DataFlow::Node sink) { sink instanceof QueryInjectionSink }
1818

1919
predicate isBarrier(DataFlow::Node node) {
20-
node.getType() instanceof PrimitiveType or node.getType() instanceof BoxedType
20+
node.getType() instanceof PrimitiveType or
21+
node.getType() instanceof BoxedType or
22+
node.getType() instanceof NumberType
2123
}
2224

2325
predicate isAdditionalFlowStep(DataFlow::Node node1, DataFlow::Node node2) {

0 commit comments

Comments
 (0)