linux/drivers/media/usb
Dan Carpenter d5ac225c7d media: cpia2: Fix a couple off by one bugs
The cam->buffers[] array has cam->num_frames elements so the > needs to
be changed to >= to avoid going beyond the end of the array.  The
->buffers[] array is allocated in cpia2_allocate_buffers() if you want
to confirm.

Fixes: ab33d5071d ("V4L/DVB (3376): Add cpia2 camera support")

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-12-08 11:12:53 -05:00
..
airspy media: usb: make video_device const 2017-08-27 08:45:32 -04:00
as102 media updates for v4.15-rc1 2017-11-15 20:30:12 -08:00
au0828 treewide: setup_timer() -> timer_setup() 2017-11-21 15:57:07 -08:00
b2c2 media updates for v4.15-rc1 2017-11-15 20:30:12 -08:00
cpia2 media: cpia2: Fix a couple off by one bugs 2017-12-08 11:12:53 -05:00
cx231xx media: cx231xx: Add support for The Imaging Source DFG/USB2pro 2017-12-08 10:35:08 -05:00
dvb-usb media: use ARRAY_SIZE 2017-12-08 10:11:00 -05:00
dvb-usb-v2 media updates for v4.15-rc1 2017-11-15 20:30:12 -08:00
em28xx media updates for v4.15-rc1 2017-11-15 20:30:12 -08:00
go7007 License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
gspca media: gspca: Convert PDEBUG to gspca_dbg 2017-12-08 10:10:15 -05:00
hackrf media: usb: make video_device const 2017-08-27 08:45:32 -04:00
hdpvr media: hdpvr: Fix an error handling path in hdpvr_probe() 2017-12-08 10:06:19 -05:00
msi2500 media: usb: fix spelling mistake: "synchronuously" -> "synchronously" 2017-11-07 03:47:09 -05:00
pulse8-cec media: pulse8-cec: print time using time64_t 2017-12-08 11:08:22 -05:00
pvrusb2 media updates for v4.15-rc1 2017-11-15 20:30:12 -08:00
pwc media: drivers: remove "/**" from non-kernel-doc comments 2017-11-30 04:19:03 -05:00
rainshadow-cec media: usb: rainshadow-cec: constify serio_device_id 2017-08-20 08:27:29 -04:00
s2255 media: s2255drv: update firmware load 2017-12-08 10:43:59 -05:00
siano media: siano: get rid of documentation warnings 2017-11-27 08:40:36 -05:00
stk1160 media updates for v4.15-rc1 2017-11-15 20:30:12 -08:00
stkwebcam media: stk-webcam: Fix use after free on disconnect 2017-12-08 10:06:46 -05:00
tm6000 media updates for v4.15-rc1 2017-11-15 20:30:12 -08:00
ttusb-budget media: drivers: remove "/**" from non-kernel-doc comments 2017-11-30 04:19:03 -05:00
ttusb-dec media: usb: constify usb_device_id 2017-08-20 08:04:51 -04:00
usbtv media: usbtv: add a new usbid 2017-11-27 14:49:18 -05:00
usbvision License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
uvc Modules updates for v4.15 2017-11-15 13:46:33 -08:00
zr364xx media: drivers: Adjust checks for null pointers 2017-09-23 08:20:57 -04:00
Kconfig [media] rainshadow-cec: new RainShadow Tech HDMI CEC driver 2017-04-10 12:42:10 -03:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00