diff options
-rw-r--r-- | kernel/audit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/audit.c b/kernel/audit.c index e092f1c0ce30..6d903182c6b7 100644 --- a/kernel/audit.c +++ b/kernel/audit.c | |||
@@ -1366,7 +1366,7 @@ int audit_string_contains_control(const char *string, size_t len) | |||
1366 | { | 1366 | { |
1367 | const unsigned char *p; | 1367 | const unsigned char *p; |
1368 | for (p = string; p < (const unsigned char *)string + len && *p; p++) { | 1368 | for (p = string; p < (const unsigned char *)string + len && *p; p++) { |
1369 | if (*p == '"' || *p < 0x21 || *p > 0x7f) | 1369 | if (*p == '"' || *p < 0x21 || *p > 0x7e) |
1370 | return 1; | 1370 | return 1; |
1371 | } | 1371 | } |
1372 | return 0; | 1372 | return 0; |