Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 142020
b: refs/heads/master
c: b3897f5
h: refs/heads/master
v: v3
  • Loading branch information
Miloslav Trmac authored and Al Viro committed Apr 5, 2009
1 parent a254f95 commit 4e8ca1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c28bb7da74ab74a2860d652493aaff7de104d79e
refs/heads/master: b3897f567100d18e0597f638b911d23aa5e0dd23
2 changes: 1 addition & 1 deletion trunk/kernel/audit.c
Original file line number Diff line number Diff line change
Expand Up @@ -1382,7 +1382,7 @@ void audit_log_n_string(struct audit_buffer *ab, const char *string,
int audit_string_contains_control(const char *string, size_t len)
{
const unsigned char *p;
for (p = string; p < (const unsigned char *)string + len && *p; p++) {
for (p = string; p < (const unsigned char *)string + len; p++) {
if (*p == '"' || *p < 0x21 || *p > 0x7e)
return 1;
}
Expand Down

0 comments on commit 4e8ca1d

Please sign in to comment.