android_kernel_motorola_sm6225/drivers/media/usb
Dan Carpenter bf5bbed15c [media] dvb-usb: check for invalid length in ttusb_process_muxpack()
This patch is driven by a static checker warning.
The ttusb_process_muxpack() function is only called from
ttusb_process_frame().  Before calling, it verifies that len >= 2.  The
problem is that len == 2 is not valid and would lead to an array
underflow.
Odd number values for len are also invalid and would lead to reading
past the end of the array.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2013-02-08 17:29:52 -02:00
..
au0828 [media] au0828: Replace memcpy with struct assignment 2012-12-27 18:49:44 -02:00
b2c2 [media] Kconfig: Fix b2c2 common code selection 2012-08-21 08:38:31 -03:00
cpia2 [media] v4l: Tell user space we're using monotonic timestamps 2012-12-21 11:20:51 -02:00
cx231xx [media] cx231xx: add a missing break statement 2013-02-05 20:22:06 -02:00
dvb-usb [media] ttusb2: Kconfig patch to auto-select frontends for TechnoTrend CT-3650 2013-02-08 15:44:33 -02:00
dvb-usb-v2 [media] Support Digivox Mini HD (rtl2832) 2013-02-06 08:16:08 -02:00
em28xx [media] [REVIEW] em28xx: fix bytesperline calculation in TRY_FMT 2013-02-08 17:26:24 -02:00
gspca [media] usb/gspca/zc3xx.c: use IS_ENABLED() macro 2013-02-05 14:54:43 -02:00
hdpvr [media] [V2,23/24] usb/hdpvr/hdpvr-i2c.c: use IS_ENABLED() macro 2013-02-06 09:20:41 -02:00
pvrusb2 [media] pvrusb2: Replace memcpy with struct assignment 2012-12-27 18:45:53 -02:00
pwc [media] pwc: Don't return EINVAL when an unsupported pixelformat is requested 2013-02-05 14:54:47 -02:00
s2255 [media] v4l: Convert drivers to use monotonic timestamps 2012-12-21 10:56:43 -02:00
siano Drivers: media: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
sn9c102 [media] sn9c102: Replace memcpy with struct assignment 2012-12-27 18:44:46 -02:00
stk1160 [media] stk1160: Replace BUG_ON with WARN_ON 2013-01-01 10:04:40 -02:00
stkwebcam [media] stk-webcam: Add an upside down dmi table, and add the Asus G1 to it 2012-12-21 13:34:30 -02:00
tlg2300 [media] v4l: Convert drivers to use monotonic timestamps 2012-12-21 10:56:43 -02:00
tm6000 [media] tm6000: check an allocation for failure 2013-02-08 14:46:56 -02:00
ttusb-budget [media] dvb-usb: check for invalid length in ttusb_process_muxpack() 2013-02-08 17:29:52 -02:00
ttusb-dec
usbvision Merge branch 'v4l_for_linus' into staging/for_v3.9 2013-01-24 18:49:18 -02:00
uvc [media] uvcvideo: Implement videobuf2 .wait_prepare and .wait_finish operations 2013-02-06 09:33:58 -02:00
zr364xx [media] v4l: Convert drivers to use monotonic timestamps 2012-12-21 10:56:43 -02:00
Kconfig [media] au0828: remove forced dependency of VIDEO_AU0828 on VIDEO_V4L2 2012-12-17 14:31:26 -02:00
Makefile [media] Fix some Makefile rules 2012-08-16 19:55:03 -03:00