Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 28337
b: refs/heads/master
c: 3612242
h: refs/heads/master
i:
  28335: b4218c0
v: v3
  • Loading branch information
Micah Dowty authored and Greg Kroah-Hartman committed Jun 21, 2006
1 parent 2e36f00 commit b9b6926
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: e016683d595aacde78b9385aabd0b98c8915d885
refs/heads/master: 3612242e527eb47ee4756b5350f8bdf791aa5ede
3 changes: 2 additions & 1 deletion trunk/drivers/usb/core/devio.c
Original file line number Diff line number Diff line change
Expand Up @@ -982,7 +982,8 @@ static int proc_do_submiturb(struct dev_state *ps, struct usbdevfs_urb *uurb,
return -EFAULT;
}
for (totlen = u = 0; u < uurb->number_of_packets; u++) {
if (isopkt[u].length > 1023) {
/* arbitrary limit, sufficient for USB 2.0 high-bandwidth iso */
if (isopkt[u].length > 8192) {
kfree(isopkt);
return -EINVAL;
}
Expand Down

0 comments on commit b9b6926

Please sign in to comment.