Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 142021
b: refs/heads/master
c: 55ad2f8
h: refs/heads/master
i:
  142019: a254f95
v: v3
  • Loading branch information
Miloslav Trmac authored and Al Viro committed Apr 5, 2009
1 parent 4e8ca1d commit f5464c5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b3897f567100d18e0597f638b911d23aa5e0dd23
refs/heads/master: 55ad2f8d340678397de5916b9cd960f17ebd7150
3 changes: 3 additions & 0 deletions trunk/kernel/audit.c
Original file line number Diff line number Diff line change
Expand Up @@ -766,6 +766,9 @@ static int audit_receive_msg(struct sk_buff *skb, struct nlmsghdr *nlh)

audit_log_format(ab, " msg=");
size = nlmsg_len(nlh);
if (size > 0 &&
((unsigned char *)data)[size - 1] == '\0')
size--;
audit_log_n_untrustedstring(ab, data, size);
}
audit_set_pid(ab, pid);
Expand Down

0 comments on commit f5464c5

Please sign in to comment.