Skip to content

Commit 00c5509

Browse files
authored
Merge pull request #10256 from geoffw0/cleartextcleanup
2 parents cc1a5d8 + aad77c2 commit 00c5509

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ class CleartextStorageConfig extends TaintTracking::Configuration {
8989
isSink(node) and
9090
exists(ClassDecl cd |
9191
c.getAReadContent().(DataFlow::Content::FieldContent).getField() = cd.getAMember() and
92-
cd.getType().(NominalType).getABaseType*().getName() = "RealmSwiftObject"
92+
cd.getABaseTypeDecl*().getName() = "RealmSwiftObject"
9393
)
9494
or
9595
// any default implicit reads

0 commit comments

Comments
 (0)