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 {
23
23
StringLengthConflationConfiguration ( ) { this = "StringLengthConflationConfiguration" }
24
24
25
25
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`
27
27
exists ( MemberRefExpr member |
28
28
member .getBaseExpr ( ) .getType ( ) .getName ( ) = "String" and
29
29
member .getMember ( ) .( VarDecl ) .getName ( ) = "count" and
30
30
node .asExpr ( ) = member and
31
31
flowstate = "String"
32
32
)
33
33
or
34
- // result of a call to to `NSString.length`
34
+ // result of a call to `NSString.length`
35
35
exists ( MemberRefExpr member |
36
36
member .getBaseExpr ( ) .getType ( ) .getName ( ) = [ "NSString" , "NSMutableString" ] and
37
37
member .getMember ( ) .( VarDecl ) .getName ( ) = "length" and
You can’t perform that action at this time.
0 commit comments