File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
swift/ql/src/queries/Security/CWE-135 Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -23,15 +23,15 @@ class StringLengthConflationConfiguration extends DataFlow::Configuration {
2323 StringLengthConflationConfiguration ( ) { this = "StringLengthConflationConfiguration" }
2424
2525 override predicate isSource ( DataFlow:: Node node , string flowstate ) {
26- // result of a call to to `String.count`
26+ // result of a call to `String.count`
2727 exists ( MemberRefExpr member |
2828 member .getBaseExpr ( ) .getType ( ) .getName ( ) = "String" and
2929 member .getMember ( ) .( VarDecl ) .getName ( ) = "count" and
3030 node .asExpr ( ) = member and
3131 flowstate = "String"
3232 )
3333 or
34- // result of a call to to `NSString.length`
34+ // result of a call to `NSString.length`
3535 exists ( MemberRefExpr member |
3636 member .getBaseExpr ( ) .getType ( ) .getName ( ) = [ "NSString" , "NSMutableString" ] and
3737 member .getMember ( ) .( VarDecl ) .getName ( ) = "length" and
You can’t perform that action at this time.
0 commit comments