Skip to content

Commit 9ec2f92

Browse files
committed
Swift: Correct components(separatedBy:) models.
1 parent 8be6aed commit 9ec2f92

File tree

1 file changed

+1
-1
lines changed
  • swift/ql/lib/codeql/swift/frameworks/StandardLibrary

1 file changed

+1
-1
lines changed

swift/ql/lib/codeql/swift/frameworks/StandardLibrary/String.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ private class StringSummaries extends SummaryModelCsv {
4747
";StringProtocol;true;capitalized(with:);;;Argument[-1];ReturnValue;taint",
4848
";StringProtocol;true;completePath(into:caseSensitive:matchesInto:filterTypes:);;;Argument[-1];Argument[0].OptionalSome.CollectionElement;taint",
4949
";StringProtocol;true;completePath(into:caseSensitive:matchesInto:filterTypes:);;;Argument[-1];Argument[2].OptionalSome.CollectionElement.CollectionElement;taint",
50-
";StringProtocol;true;components(separatedBy:);;;Argument[-1];ReturnValue;taint",
50+
";StringProtocol;true;components(separatedBy:);;;Argument[-1];ReturnValue.CollectionElement;taint",
5151
";StringProtocol;true;data(using:allowLossyConversion:);;;Argument[-1];ReturnValue;taint",
5252
";StringProtocol;true;folding(options:locale:);;;Argument[-1];ReturnValue;taint",
5353
";StringProtocol;true;getBytes(_:maxLength:usedLength:encoding:options:range:remaining:);;;Argument[-1];Argument[0].CollectionElement;taint",

0 commit comments

Comments
 (0)