summaryrefslogtreecommitdiff
path: root/drivers/media/firewire
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2014-05-31 03:26:38 +0400
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-11-03 20:11:59 +0300
commit6ed9b28504326f8cf542e6b68245b2f7ce009216 (patch)
tree1c00596b47f9204c95d1a70ff1866862cfe1345c /drivers/media/firewire
parent66ae9fc237c1192414c12094443521d956199be8 (diff)
downloadlinux-6ed9b28504326f8cf542e6b68245b2f7ce009216.tar.xz
[media] V4L2: fix VIDIOC_CREATE_BUFS 32-bit compatibility mode data copy-back
Similar to an earlier patch, fixing reading user-space data for the VIDIOC_CREATE_BUFS ioctl() in 32-bit compatibility mode, this patch fixes writing back of the possibly modified struct to the user. However, unlike the former bug, this one is much less harmful, because it only results in the kernel failing to write the .type field back to the user, but in fact this is likely unneeded, because the kernel will hardly want to change that field. Therefore this bug is more of a theoretical nature. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/firewire')
0 files changed, 0 insertions, 0 deletions