Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 362278
b: refs/heads/master
c: deadcfc
h: refs/heads/master
v: v3
  • Loading branch information
Pablo Neira Ayuso committed Mar 25, 2013
1 parent 6f8648d commit 576a9ed
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 558724a5b2a73ad0c7638e21e8dffc419d267b6c
refs/heads/master: deadcfc3324410726cd6a663fb4fc46be595abe7
2 changes: 2 additions & 0 deletions trunk/net/netfilter/nfnetlink_acct.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ nfnl_acct_new(struct sock *nfnl, struct sk_buff *skb,
return -EINVAL;

acct_name = nla_data(tb[NFACCT_NAME]);
if (strlen(acct_name) == 0)
return -EINVAL;

list_for_each_entry(nfacct, &nfnl_acct_list, head) {
if (strncmp(nfacct->name, acct_name, NFACCT_NAME_MAX) != 0)
Expand Down

0 comments on commit 576a9ed

Please sign in to comment.