upstream: [media] v4l: Check pad arguments for [gs]_frame_interval
authorSakari Ailus <sakari.ailus@linux.intel.com>
Mon, 22 Apr 2013 13:24:51 +0000 (10:24 -0300)
committerChanho Park <chanho61.park@samsung.com>
Thu, 7 Aug 2014 05:26:26 +0000 (14:26 +0900)
commitda0100d6762bed8804f02db67886fc0874d556a3
tree62024c324f5f7036da6813cfab9be0dbe9c56943
parent393d0d3247f73758ffd4c2aad0a22f2d2674949d
upstream: [media] v4l: Check pad arguments for [gs]_frame_interval

VIDIOC_SUBDEV_[GS]_FRAME_INTERVAL IOCTLs argument structs contain the pad
field but the validity check was missing. There should be no implications
security-wise from this since no driver currently uses the pad field in the
struct.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/v4l2-core/v4l2-subdev.c