Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 286076
b: refs/heads/master
c: 25add8c
h: refs/heads/master
v: v3
  • Loading branch information
Tetsuo Handa authored and James Morris committed Jan 17, 2012
1 parent f75dbe8 commit 403e715
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 89879a7eb81f69e6f63bdb2a442fb765c46482c0
refs/heads/master: 25add8cf99c9ec8b8dc0acd8b9241e963fc0d29c
6 changes: 3 additions & 3 deletions trunk/security/tomoyo/util.c
Original file line number Diff line number Diff line change
Expand Up @@ -492,13 +492,13 @@ static bool tomoyo_correct_word2(const char *string, size_t len)
if (d < '0' || d > '7' || e < '0' || e > '7')
break;
c = tomoyo_make_byte(c, d, e);
if (tomoyo_invalid(c))
continue; /* pattern is not \000 */
if (c <= ' ' || c >= 127)
continue;
}
goto out;
} else if (in_repetition && c == '/') {
goto out;
} else if (tomoyo_invalid(c)) {
} else if (c <= ' ' || c >= 127) {
goto out;
}
}
Expand Down

0 comments on commit 403e715

Please sign in to comment.