Skip to content

Commit 8e0a018

Browse files
committed
Consider Int8 and UInt8 as OsLogNonRedactedTypes
1 parent 49a41c9 commit 8e0a018

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ private class OsLogPrivacyCleartextLoggingSanitizer extends CleartextLoggingSani
5353
/** A type that isn't redacted by default in an `OSLogMessage`. */
5454
private class OsLogNonRedactedType extends Type {
5555
OsLogNonRedactedType() {
56-
this.getName() = [["", "U"] + "Int" + ["", "16", "32", "64"], "Double", "Float", "Bool"]
56+
this.getName() = [["", "U"] + "Int" + ["", "8", "16", "32", "64"], "Double", "Float", "Bool"]
5757
}
5858
}
5959

0 commit comments

Comments
 (0)