mirror of
https://github.com/github/codeql.git
synced 2026-01-07 11:40:27 +01:00
Swift: Address singleton set literal warning
This commit is contained in:
@@ -267,7 +267,7 @@ The following global taint-tracking query finds places where a value from a remo
|
||||
|
||||
predicate isSink(DataFlow::Node node) {
|
||||
exists(CallExpr call |
|
||||
call.getStaticTarget().(MethodDecl).hasQualifiedName("Connection", ["execute(_:)"]) and
|
||||
call.getStaticTarget().(MethodDecl).hasQualifiedName("Connection", "execute(_:)") and
|
||||
call.getArgument(0).getExpr() = node.asExpr()
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user