1
linux/drivers/media/video/uvc
Laurent Pinchart cf7a50eeb6 V4L/DVB: uvcvideo: Prevent division by 0 when control step value is 0
The control step values reported by the device are used as a divisor
unchecked, which can result in a division by zero.

Check the step value and make it 1 when null.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2010-05-19 12:58:44 -03:00
..
Kconfig
Makefile
uvc_ctrl.c V4L/DVB: uvcvideo: Prevent division by 0 when control step value is 0 2010-05-19 12:58:44 -03:00
uvc_driver.c V4L/DVB: uvcvideo: Add support for V4L2_PIX_FMT_Y16 2010-05-19 12:58:42 -03:00
uvc_isight.c V4L/DVB (12378): uvcvideo: Restructure the driver to support multiple simultaneous streams. 2009-09-12 12:18:32 -03:00
uvc_queue.c V4L/DVB: uvcvideo: Use POLLOUT and POLLWRNORM for output devices 2010-05-18 00:52:52 -03:00
uvc_status.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
uvc_v4l2.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
uvc_video.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
uvcvideo.h V4L/DVB: uvcvideo: Add support for V4L2_PIX_FMT_Y16 2010-05-19 12:58:42 -03:00