linux-stable/drivers/media/usb/uvc
Laurent Pinchart 0393e73564 media: uvcvideo: Stream error events carry no data
According to the UVC specification, stream error events carry no data.
Fix a buffer overflow (that should be harmless given data alignment)
when reporting the stream error event by removing the data byte from the
message.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-12-08 11:33:09 -05:00
..
Kconfig [media] uvc: Depend on VIDEO_V4L2 2013-06-24 22:54:40 -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
uvc_ctrl.c media: uvcvideo: Prevent heap overflow when accessing mapped controls 2017-08-20 08:08:34 -04:00
uvc_debugfs.c [media] uvcvideo: Change result code of debugfs_init to void 2017-01-31 10:56:48 -02:00
uvc_driver.c media: uvcvideo: Add D3DFMT_L8 support 2017-12-08 11:30:07 -05:00
uvc_entity.c media: uvcvideo: Constify video_subdev structures 2017-08-20 08:10:24 -04:00
uvc_isight.c
uvc_queue.c media: uvcvideo: Fix .queue_setup() to check the number of planes 2017-08-20 08:09:00 -04:00
uvc_status.c media: uvcvideo: Stream error events carry no data 2017-12-08 11:33:09 -05:00
uvc_v4l2.c [media] uvcvideo: freeing an error pointer 2016-11-29 12:05:00 -02:00
uvc_video.c media: uvcvideo: Mark buffer error where overflow 2017-12-08 11:32:29 -05:00
uvcvideo.h media: uvcvideo: Add D3DFMT_L8 support 2017-12-08 11:30:07 -05:00