Skip to content

Commit 7feab09

Browse files
committed
Swift: Specialize the additional taint step a bit more.
1 parent 237669a commit 7feab09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

swift/ql/lib/codeql/swift/security/CleartextStorageDatabaseExtensions.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ private class CleartextStorageDatabaseArrayAdditionalTaintStep extends Cleartext
137137
// approximate; for example we might identify `passwordBox` as a source,
138138
// whereas it is more accurate to say that `passwordBox.textField` is the
139139
// true source).
140-
nodeTo.asExpr().(LookupExpr).getBase() = nodeFrom.asExpr()
140+
nodeTo.asExpr().(MemberRefExpr).getBase() = nodeFrom.asExpr()
141141
}
142142
}
143143

0 commit comments

Comments
 (0)