Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 323088
b: refs/heads/master
c: 4c87308
h: refs/heads/master
v: v3
  • Loading branch information
Mathias Krause authored and David S. Miller committed Sep 20, 2012
1 parent cf0a4c0 commit aa8aa3b
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: 9db273f45686218e055a3738f3311048cbb54fee
refs/heads/master: 4c87308bdea31a7b4828a51f6156e6f721a1fcc9
2 changes: 1 addition & 1 deletion trunk/net/xfrm/xfrm_user.c
Original file line number Diff line number Diff line change
Expand Up @@ -742,7 +742,7 @@ static int copy_to_user_auth(struct xfrm_algo_auth *auth, struct sk_buff *skb)
return -EMSGSIZE;

algo = nla_data(nla);
strcpy(algo->alg_name, auth->alg_name);
strncpy(algo->alg_name, auth->alg_name, sizeof(algo->alg_name));
memcpy(algo->alg_key, auth->alg_key, (auth->alg_key_len + 7) / 8);
algo->alg_key_len = auth->alg_key_len;

Expand Down

0 comments on commit aa8aa3b

Please sign in to comment.