Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 109289
b: refs/heads/master
c: 328fc47
h: refs/heads/master
i:
  109287: 0495e10
v: v3
  • Loading branch information
Vlad Yasevich authored and David S. Miller committed Aug 27, 2008
1 parent afadffc commit 6a13798
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: f2455eb176ac87081bbfc9a44b21c7cd2bc1967e
refs/heads/master: 328fc47ea0bcc27d9afa69c3ad6e52431cadd76c
2 changes: 1 addition & 1 deletion trunk/net/sctp/socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -3144,7 +3144,7 @@ static int sctp_setsockopt_auth_key(struct sock *sk,
goto out;
}

if (authkey->sca_keylength > optlen) {
if (authkey->sca_keylength > optlen - sizeof(struct sctp_authkey)) {
ret = -EINVAL;
goto out;
}
Expand Down

0 comments on commit 6a13798

Please sign in to comment.