Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 210341
b: refs/heads/master
c: 04ccd53
h: refs/heads/master
i:
  210339: d09f96c
v: v3
  • Loading branch information
John Johansen authored and James Morris committed Sep 7, 2010
1 parent b53bbf1 commit 49aa6ac
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: 3a2dc8382a3e85a51ed9c6f57ea80665ea7a0c95
refs/heads/master: 04ccd53f09741c4bc54ab36db000bc1383e4812e
2 changes: 1 addition & 1 deletion trunk/security/apparmor/lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@ char *aa_split_fqname(char *fqname, char **ns_name)
*ns_name = NULL;
if (name[0] == ':') {
char *split = strchr(&name[1], ':');
*ns_name = skip_spaces(&name[1]);
if (split) {
/* overwrite ':' with \0 */
*split = 0;
name = skip_spaces(split + 1);
} else
/* a ns name without a following profile is allowed */
name = NULL;
*ns_name = &name[1];
}
if (name && *name == 0)
name = NULL;
Expand Down

0 comments on commit 49aa6ac

Please sign in to comment.