Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 299047
b: refs/heads/master
c: 7ab2485
h: refs/heads/master
i:
  299045: dd4da9f
  299043: bae7537
  299039: 58835cd
v: v3
  • Loading branch information
Julia Lawall authored and John W. Linville committed Apr 9, 2012
1 parent 220fc83 commit f3556a6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: e89f7690a3adbde0af7c294f83c242ba6a367ef0
refs/heads/master: 7ab2485b69571a3beb0313c591486626c3374c85
6 changes: 4 additions & 2 deletions trunk/net/wireless/wext-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -780,8 +780,10 @@ static int ioctl_standard_iw_point(struct iw_point *iwp, unsigned int cmd,
if (cmd == SIOCSIWENCODEEXT) {
struct iw_encode_ext *ee = (void *) extra;

if (iwp->length < sizeof(*ee) + ee->key_len)
return -EFAULT;
if (iwp->length < sizeof(*ee) + ee->key_len) {
err = -EFAULT;
goto out;
}
}
}

Expand Down

0 comments on commit f3556a6

Please sign in to comment.