Skip to content

Commit 541df9b

Browse files
committed
Swift: Remove TODO comment. We have a test for this problem now.
1 parent 336548f commit 541df9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

swift/ql/src/queries/Security/CWE-135/StringLengthConflation.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ class StringLengthConflationConfiguration extends DataFlow::Configuration {
7474
paramName = "at"
7575
) and
7676
c.getName() = className and
77-
c.getAMember() = funcDecl and // TODO: will this even work if its defined in a parent class?
77+
c.getAMember() = funcDecl and
7878
call.getFunction().(ApplyExpr).getStaticTarget() = funcDecl and
7979
flowstate = "String" // `String` length flowing into `NSString`
8080
)

0 commit comments

Comments
 (0)