Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 181603
b: refs/heads/master
c: 22c859f
h: refs/heads/master
i:
  181601: edde9ab
  181599: ac6cf28
v: v3
  • Loading branch information
Arnaud Patard authored and Mauro Carvalho Chehab committed Feb 26, 2010
1 parent 9e41f89 commit 0bce298
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 6aba72cf76d21527dc73403e4147397375c8c232
refs/heads/master: 22c859faf5e10e7f7b04a2c643a98eeee69c1815
3 changes: 3 additions & 0 deletions trunk/drivers/media/video/v4l2-compat-ioctl32.c
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,9 @@ static int get_v4l2_buffer32(struct v4l2_buffer *kp, struct v4l2_buffer32 __user
return -EFAULT;
switch (kp->memory) {
case V4L2_MEMORY_MMAP:
if (get_user(kp->length, &up->length) ||
get_user(kp->m.offset, &up->m.offset))
return -EFAULT;
break;
case V4L2_MEMORY_USERPTR:
{
Expand Down

0 comments on commit 0bce298

Please sign in to comment.