We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cc1a5d8 + aad77c2 commit 00c5509Copy full SHA for 00c5509
swift/ql/src/queries/Security/CWE-311/CleartextStorageDatabase.ql
@@ -89,7 +89,7 @@ class CleartextStorageConfig extends TaintTracking::Configuration {
89
isSink(node) and
90
exists(ClassDecl cd |
91
c.getAReadContent().(DataFlow::Content::FieldContent).getField() = cd.getAMember() and
92
- cd.getType().(NominalType).getABaseType*().getName() = "RealmSwiftObject"
+ cd.getABaseTypeDecl*().getName() = "RealmSwiftObject"
93
)
94
or
95
// any default implicit reads
0 commit comments