[media] omap3isp: queue: fail QBUF if user buffer is too small
authorMichael Jones <michael.jones@matrix-vision.de>
Tue, 9 Aug 2011 06:42:20 +0000 (08:42 +0200)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 11 Sep 2011 12:49:27 +0000 (09:49 -0300)
commit61e6561fae573c3c618118a71ff966ddb14299da
tree2f79eb2b8daab4d025f45f216ac70028f5cdb79b
parent00542edf071e249ccb541ffb2d2b9034e2533968
[media] omap3isp: queue: fail QBUF if user buffer is too small

Add buffer length check to sanity checks for USERPTR QBUF.

Signed-off-by: Michael Jones <michael.jones@matrix-vision.de>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/omap3isp/ispqueue.c