linux/drivers/media/v4l2-core
Laurent Pinchart 48e93b0c26 media: v4l2: Sanitize colorspace values in the framework
Extend the format sanitization code in the framework to handle invalid
values for the colorspace-related fields.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
2022-07-15 15:03:36 +01:00
..
Kconfig media: Kconfig: cleanup VIDEO_DEV dependencies 2022-03-18 05:58:35 +01:00
Makefile media: Kconfig: cleanup VIDEO_DEV dependencies 2022-03-18 05:58:35 +01:00
tuner-core.c media: v4l2: fix uninitialized value tuner_status(CWE-457) 2022-04-24 08:49:53 +01:00
v4l2-async.c media: v4l: async: Also match secondary fwnode endpoints 2022-07-15 14:36:18 +01:00
v4l2-common.c media: Add P010 video format 2022-06-20 10:30:31 +01:00
v4l2-compat-ioctl32.c media: v4l2-core: fix VIDIOC_DQEVENT handling on non-x86 2021-11-10 11:38:26 +00:00
v4l2-ctrls-api.c media: v4l2-ctrls: split up into four source files 2021-05-25 17:03:29 +02:00
v4l2-ctrls-core.c media: v4l2-ctls-core.c: kvmalloc_array -> kvcalloc 2022-05-13 11:02:22 +02:00
v4l2-ctrls-defs.c media: v4l2-ctrls: Add intra-refresh type control 2022-04-24 08:35:01 +01:00
v4l2-ctrls-priv.h media: v4l2-ctrls: split up into four source files 2021-05-25 17:03:29 +02:00
v4l2-ctrls-request.c media: v4l2-ctrls: split up into four source files 2021-05-25 17:03:29 +02:00
v4l2-dev.c media: v4l2-dev: Use non-atomic bitmap API when applicable 2022-01-28 13:20:35 +01:00
v4l2-device.c media: v4l: subdev: Set sd->devnode before registering the subdev 2020-12-02 15:55:44 +01:00
v4l2-dv-timings.c media: v4l2-dv-timings.c: fix wrong condition in two for-loops 2021-08-04 14:43:52 +02:00
v4l2-event.c media: v4l2-event: Modified variable type 'unsigned' to 'unsigned int' 2021-06-17 10:22:59 +02:00
v4l2-fh.c media: v4l2-core: Avoid the dangling pointer in v4l2_fh_release 2021-06-02 13:17:44 +02:00
v4l2-flash-led-class.c media: v4l2-flash: Check whether setting LED brightness succeeded 2021-08-04 14:43:51 +02:00
v4l2-fwnode.c media: media/v4l2-core: Add enum V4L2_FWNODE_BUS_TYPE_DPI 2022-05-17 09:09:59 +02:00
v4l2-h264.c media: v4l2: Reorder field reflist 2022-05-17 10:03:11 +02:00
v4l2-i2c.c
v4l2-ioctl.c media: v4l2: Sanitize colorspace values in the framework 2022-07-15 15:03:36 +01:00
v4l2-jpeg.c media: Avoid parsing quantization and huffman tables 2021-03-22 10:40:13 +01:00
v4l2-mc.c media: v4l2-mc: fix a warning message 2021-03-22 13:06:39 +01:00
v4l2-mem2mem.c media: v4l2-mem2mem: prevent pollerr when last_buffer_dequeued is set 2022-06-27 09:10:36 +01:00
v4l2-spi.c
v4l2-subdev.c media: v4l2-subdev.c: kvmalloc_array -> kvcalloc 2022-05-13 11:02:22 +02:00
v4l2-trace.c
v4l2-vp9.c media: Add VP9 v4l2 library 2021-11-22 07:47:13 +00:00
videobuf-core.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
videobuf-dma-contig.c
videobuf-dma-sg.c media: videobuf-dma-sg: void function return statements are not generally useful 2021-06-02 14:18:36 +02:00
videobuf-vmalloc.c