Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 107727
b: refs/heads/master
c: cfb266c
h: refs/heads/master
i:
  107725: 758e1a5
  107723: b7f0af2
  107719: 6a3efa1
  107711: 044ad7a
v: v3
  • Loading branch information
Yang Hongyang authored and David S. Miller committed Aug 4, 2008
1 parent 9f7ab77 commit f8c5395
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: 1730554f253deb65fe5112c54b2f898d5318a328
refs/heads/master: cfb266c0ee0ea0b7bfa8189e3a3a80344dec6112
2 changes: 2 additions & 0 deletions trunk/net/ipv6/ipv6_sockglue.c
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,8 @@ static int do_ipv6_setsockopt(struct sock *sk, int level, int optname,
*/
if (optlen == 0)
optval = NULL;
else if (optval == NULL)
goto e_inval;
else if (optlen < sizeof(struct ipv6_opt_hdr) ||
optlen & 0x7 || optlen > 8 * 255)
goto e_inval;
Expand Down

0 comments on commit f8c5395

Please sign in to comment.