Skip to content

Commit dcd703f

Browse files
committed
Update to the TaintTracking::Global api
1 parent bbf7c67 commit dcd703f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ module RemoteUserInputToArgumentToExecFlowConfig implements DataFlow::ConfigSig
5252
}
5353

5454
module RemoteUserInputToArgumentToExecFlow =
55-
TaintTracking::Make<RemoteUserInputToArgumentToExecFlowConfig>;
55+
TaintTracking::Global<RemoteUserInputToArgumentToExecFlowConfig>;
5656

5757
/**
5858
* Implementation of `ExecTainted.ql`. It is extracted to a QLL
@@ -63,6 +63,6 @@ predicate execTainted(
6363
RemoteUserInputToArgumentToExecFlow::PathNode source,
6464
RemoteUserInputToArgumentToExecFlow::PathNode sink, ArgumentToExec execArg
6565
) {
66-
RemoteUserInputToArgumentToExecFlow::hasFlowPath(source, sink) and
66+
RemoteUserInputToArgumentToExecFlow::flowPath(source, sink) and
6767
sink.getNode() = DataFlow::exprNode(execArg)
6868
}

0 commit comments

Comments
 (0)