]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Apr 2016 16:08:50 +0000 (09:08 -0700)
commit8c1fa99764bd76be5707447b40aa0806acfc61bf
tree50015d8fe81bfd80714b87704ade246dbe8518c3
parent6aed423a0e54306003228d3b68196c542af6cd59
media: v4l2-compat-ioctl32: fix missing length copy in put_v4l2_buffer32

commit 7df5ab8774aa383c6d2bff00688d004585d96dfd upstream.

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>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/media/v4l2-core/v4l2-compat-ioctl32.c