mirror of
https://github.com/github/codeql.git
synced 2026-04-28 18:25:24 +02:00
Java: Fix test.
This commit is contained in:
@@ -24,7 +24,9 @@ where
|
||||
or
|
||||
exists(ArgumentNode arg, MethodAccess call, DataFlow::ParameterNode p, int i |
|
||||
src = arg and
|
||||
p.isParameterOf(call.getMethod().getSourceDeclaration(), i) and
|
||||
p.isParameterOf(any(DataFlowCallable c |
|
||||
c.asCallable() = call.getMethod().getSourceDeclaration()
|
||||
), i) and
|
||||
arg.argumentOf(any(DataFlowCall c | c.asCall() = call), i)
|
||||
|
|
||||
sink.asExpr() = call and
|
||||
|
||||
Reference in New Issue
Block a user