[media] media: v4l2-compat-ioctl32: fix missing length copy in put_v4l2_buffer32
authorTiffany Lin <tiffany.lin@mediatek.com>
Tue, 19 Jan 2016 07:56:50 +0000 (05:56 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 1 Feb 2016 10:15:21 +0000 (08:15 -0200)
commit7df5ab8774aa383c6d2bff00688d004585d96dfd
tree1bfd1b5d9f82ad28fba5cce904747cb7db4ad296
parent49fe73400d94027c9402d8fc11d1f8ed1a5aeb61
[media] media: v4l2-compat-ioctl32: fix missing length copy in put_v4l2_buffer32

In v4l2-compliance utility, test QUERYBUF required correct length
value to go through each planar to check planar's length in
multi-planar buffer type

Signed-off-by: Tiffany Lin <tiffany.lin@mediatek.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Cc: <stable@vger.kernel.org> # for v3.7 and up
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/v4l2-core/v4l2-compat-ioctl32.c