linux/drivers/media
Nicolas Dufresne 95f5cbff90 media: uvcvideo: Also validate buffers in BULK mode
Just like for ISOC, validate the decoded BULK buffer size when possible.
This avoids sending corrupted or partial buffers to userspace, which may
lead to application crash or run-time failure.

Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
[laurent.pinchart@ideasonboard.com: Move uvc_video_validate_buffer() call to uvc_video_next_buffers()]
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-07-27 06:39:57 -04:00
..
cec media: cec: add support for 5V signal testing 2018-07-25 07:11:48 -04:00
common media: videobuf2-core: check for q->error in vb2_core_qbuf() 2018-07-24 17:51:39 -04:00
dvb-core media: mark entity-intf links as IMMUTABLE 2018-07-04 08:40:49 -04:00
dvb-frontends media: dvb: point to the location of the old README.dvb-usb file 2018-06-15 18:10:01 -03:00
firewire vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
i2c media: video-i2c: add hwmon support for amg88xx 2018-07-25 08:33:53 -04:00
mmc media: siano: use GFP_DMA only for smssdio 2018-05-15 08:04:42 -04:00
pci media: dvb-bt8xx: remove duplicate code 2018-07-27 06:39:57 -04:00
platform media: vicodec: current -> cur 2018-07-27 06:39:57 -04:00
radio media: si4713: don't check number of messages in the driver 2018-07-27 06:39:57 -04:00
rc media: bpf: ensure bpf program is freed on detach 2018-07-13 11:07:29 -04:00
spi media: cxd2880-spi: Modified how to declare structure 2018-05-05 10:37:12 -04:00
tuners media: tuner-simple: allow setting mono radio mode 2018-07-04 09:49:27 -04:00
usb media: uvcvideo: Also validate buffers in BULK mode 2018-07-27 06:39:57 -04:00
v4l2-core media: v4l2-mem2mem: add v4l2_m2m_last_buf() 2018-07-25 08:10:31 -04:00
Kconfig media: cec: Kconfig coding style issue 2018-05-09 16:26:50 -04:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
media-device.c media: add flags field to struct media_v2_entity 2018-07-25 07:46:24 -04:00
media-devnode.c MAINTAINERS & files: Canonize the e-mails I use at files 2018-05-04 06:21:06 -04:00
media-entity.c media: media.h: reorganize header to make it easier to understand 2018-02-26 10:14:46 -05:00