linux-stable/drivers/media
Laurent Pinchart d01a1c3077 media: imx: imx7-media-csi: Zero format struct before calling .get_fmt()
The v4l2_subdev_format structure passed to the .get_fmt() subdev
operation in imx7_csi_video_validate_fmt() isn't zeroed, which can cause
undefined behaviour. Fix it.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Adam Ford <aford173@gmail.com> #imx8mm-beacon-kit
Acked-by: Rui Miguel Silva <rmfrfs@gmail.com>
Tested-by: Martin Kepplinger <martin.kepplinger@puri.sm>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
2023-02-08 09:07:06 +01:00
..
cec
common media: videobuf2-core: drop obsolete sanity check in __vb2_queue_free() 2023-02-06 08:58:22 +01:00
dvb-core Driver Core changes for 6.2-rc1 2022-12-16 03:54:54 -08:00
dvb-frontends media: dvb-frontends: mb86a16.c: always use the same error path 2023-02-08 08:40:13 +01:00
firewire
i2c media: i2c: ov7670: 0 instead of -EINVAL was returned 2023-02-08 08:39:50 +01:00
mc media: mc: entity: Fix minor issues in comments and documentation 2023-02-06 08:37:12 +01:00
mmc
pci media: saa7134: Use video_unregister_device for radio_dev 2023-02-08 09:03:40 +01:00
platform media: imx: imx7-media-csi: Zero format struct before calling .get_fmt() 2023-02-08 09:07:06 +01:00
radio media: radio/wl128x: remove unnecessary (void*) conversions 2023-02-08 07:26:02 +01:00
rc media: rc: Fix use-after-free bugs caused by ene_tx_irqsim() 2023-02-08 07:49:22 +01:00
spi
test-drivers media: visl: make visl_qops static 2023-02-08 08:29:53 +01:00
tuners media: tuners/si2157: Convert to i2c's .probe_new() 2023-01-22 08:33:25 +01:00
usb media: usb: siano: Fix use after free bugs caused by do_submit_urb 2023-02-08 09:02:42 +01:00
v4l2-core media: drivers/media/v4l2-core/v4l2-h264 : add detection of null pointers 2023-02-08 07:33:41 +01:00
Kconfig
Makefile