android_kernel_motorola_sm6375/drivers/media
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Mauro Carvalho Chehab fe791612af media: m920x: don't use stack on USB reads
[ Upstream commit a2ab06d7c4d6bfd0b545a768247a70463e977e27 ]

Using stack-allocated pointers for USB message data don't work.
This driver is almost OK with that, except for the I2C read
logic.

Fix it by using a temporary read buffer, just like on all other
calls to m920x_read().

Link: https://lore.kernel.org/all/[email protected]/
Reported-by: [email protected]
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
2022-01-27 09:19:42 +01:00
..
cec media: cec: copy sequence field for the reply 2021-12-01 09:23:28 +01:00
common media: videobuf2: Fix the size printk format 2022-01-27 09:19:30 +01:00
dvb-core media: dmxdev: fix UAF when dvb_register_device() fails 2022-01-27 09:19:30 +01:00
dvb-frontends media: dib8000: Fix a memleak in dib8000_init() 2022-01-27 09:19:32 +01:00
firewire media: firewire: firedtv-avc: fix a buffer overflow in avc_ca_pmt() 2021-11-06 13:59:45 +01:00
i2c media: TDA1997x: handle short reads of hdmi info frame. 2021-11-17 09:48:35 +01:00
mc media: Fix Media Controller API config checks 2021-07-14 16:53:15 +02:00
mmc
pci media: saa7146: hexium_orion: Fix a NULL pointer dereference in hexium_attach() 2022-01-27 09:19:42 +01:00
platform media: coda/imx-vdoa: Handle dma_set_coherent_mask error codes 2022-01-27 09:19:34 +01:00
radio media: si470x-i2c: fix possible memory leak in si470x_i2c_probe() 2022-01-27 09:19:31 +01:00
rc media: redrat3: fix control-message timeouts 2022-01-27 09:19:28 +01:00
spi media: cxd2880-spi: Fix a null pointer dereference on error handling path 2021-11-17 09:48:35 +01:00
tuners media: msi001: fix possible null-ptr-deref in msi001_probe() 2022-01-27 09:19:34 +01:00
usb media: m920x: don't use stack on USB reads 2022-01-27 09:19:42 +01:00
v4l2-core media: v4l2-ioctl.c: readbuffers depends on V4L2_CAP_READWRITE 2022-01-27 09:19:27 +01:00
Kconfig
Makefile