Skip to content

Commit 2bd25fc

Browse files
committed
Swift: Add QLDoc.
1 parent 51e3ff9 commit 2bd25fc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ import swift
1414
import codeql.swift.dataflow.DataFlow
1515
import DataFlow::PathGraph
1616

17+
/**
18+
* A configuration for tracking string lengths originating from source that is
19+
* a `String` or an `NSString` object, to a sink of a different kind that
20+
* expects an incompatible measure of length.
21+
*/
1722
class StringLengthConflationConfiguration extends DataFlow::Configuration {
1823
StringLengthConflationConfiguration() { this = "StringLengthConflationConfiguration" }
1924

0 commit comments

Comments
 (0)