Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 135035
b: refs/heads/master
c: c6db93a
h: refs/heads/master
i:
  135033: bea38bd
  135031: b4e6022
v: v3
  • Loading branch information
Wei Yongjun authored and David S. Miller committed Mar 3, 2009
1 parent 0c37ef0 commit 70b775c
Show file tree
Hide file tree
Showing 2 changed files with 3 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: d212318c9d1b11ff44b57f90b4f9d9c9b31a6ced
refs/heads/master: c6db93a58f1745cfe1acc2e1a1d68afc3245eced
3 changes: 2 additions & 1 deletion trunk/net/sctp/socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -5286,7 +5286,8 @@ static int sctp_getsockopt_maxburst(struct sock *sk, int len,
printk(KERN_WARNING
"SCTP: Use struct sctp_assoc_value instead\n");
params.assoc_id = 0;
} else if (len == sizeof (struct sctp_assoc_value)) {
} else if (len >= sizeof(struct sctp_assoc_value)) {
len = sizeof(struct sctp_assoc_value);
if (copy_from_user(&params, optval, len))
return -EFAULT;
} else
Expand Down

0 comments on commit 70b775c

Please sign in to comment.