Skip to content

Commit b4d939a

Browse files
committed
Swift: Correct a comment.
1 parent 648c2d0 commit b4d939a

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
@@ -27,7 +27,7 @@ abstract class Stored extends DataFlow::Node { }
2727
*/
2828
class CoreDataStore extends Stored {
2929
CoreDataStore() {
30-
// `content` arg to `NWConnection.send` is a sink
30+
// values written into Core Data objects are a sink
3131
exists(MethodDecl f, CallExpr call |
3232
f.hasQualifiedName("NSManagedObject", ["setValue(_:forKey:)", "setPrimitiveValue(_:forKey:)"]) and
3333
call.getStaticTarget() = f and

0 commit comments

Comments
 (0)