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 3291029 commit 64d7296Copy full SHA for 64d7296
swift/ql/src/queries/Security/CWE-135/StringLengthConflation.ql
@@ -62,7 +62,7 @@ class StringLengthConflationConfiguration extends DataFlow::Configuration {
62
c.getName() = className and
63
c.getAMember() = f and // TODO: will this even work if its defined in a parent class?
64
call.getFunction().(ApplyExpr).getStaticTarget() = f and
65
- f.(AbstractFunctionDecl).getName() = methodName and
+ f.getName() = methodName and
66
f.getParam(arg).getName() = paramName and
67
call.getArgument(arg).getExpr() = node.asExpr() and
68
flowstate = "String" // `String` length flowing into `NSString`
0 commit comments