Skip to content

Commit 2c4a95b

Browse files
authored
Merge pull request github#16777 from github/max-schaefer-patch-1
Swift: Add missing bracket in example
2 parents 6c3d90e + 9ca74de commit 2c4a95b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ func transmitMyData(connection : NWConnection, faveSong : String, creditCardNo :
99
connection.send(content: creditCardNo, completion: .idempotent)
1010

1111
// GOOD: encrypted sensitive information saved
12-
connection.send(content: encrypt(creditCardNo), completion: .idempotent
12+
connection.send(content: encrypt(creditCardNo), completion: .idempotent)
1313

1414
// ...
1515
}

0 commit comments

Comments
 (0)