Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 107260
b: refs/heads/master
c: 980dfb0
h: refs/heads/master
v: v3
  • Loading branch information
zhangxiliang authored and Al Viro committed Aug 1, 2008
1 parent c4c005f commit fe47dc2
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: 036bbf76ad9f83781590623111b80ba0b82930ac
refs/heads/master: 980dfb0db340b95094732d78b55311f2c539c1af
2 changes: 1 addition & 1 deletion trunk/kernel/auditsc.c
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ static int audit_filter_rules(struct task_struct *tsk,
if (!result)
return 0;
}
if (rule->filterkey)
if (rule->filterkey && ctx)
ctx->filterkey = kstrdup(rule->filterkey, GFP_ATOMIC);
switch (rule->action) {
case AUDIT_NEVER: *state = AUDIT_DISABLED; break;
Expand Down

0 comments on commit fe47dc2

Please sign in to comment.