Skip to content

Commit 92a927e

Browse files
committed
Swift: Remove special case (no longer required).
1 parent 129ed42 commit 92a927e

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

swift/ql/src/queries/Security/CWE-311/CleartextStorageDatabase.ql

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -96,14 +96,6 @@ class CleartextStorageConfig extends TaintTracking::Configuration {
9696
// any default implicit reads
9797
super.allowImplicitRead(node, c)
9898
}
99-
100-
override predicate isAdditionalTaintStep(DataFlow::Node node1, DataFlow::Node node2) {
101-
// flow through assignment (!) TODO: we really shouldn't need this as a special case
102-
exists(AssignExpr ae |
103-
node1.asExpr() = ae.getSource() and
104-
node2.asExpr() = ae.getDest()
105-
)
106-
}
10799
}
108100

109101
from CleartextStorageConfig config, DataFlow::PathNode sourceNode, DataFlow::PathNode sinkNode

0 commit comments

Comments
 (0)