android_kernel_motorola_sm6375/drivers/media
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Mauro Carvalho Chehab 40945660b4 media: dw2102: fix a potential buffer overflow
commit 1c73d0b29d04bf4082e7beb6a508895e118ee30d upstream.

As pointed by smatch:
	 drivers/media/usb/dvb-usb/dw2102.c:802 su3000_i2c_transfer() error: __builtin_memcpy() '&state->data[4]' too small (64 vs 67)

That seemss to be due to a wrong copy-and-paste.

Fixes: 0e148a522b84 ("media: dw2102: Don't translate i2c read into write")

Reported-by: Hans Verkuil <[email protected]>
Reviewed-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2024-07-18 11:40:52 +02:00
..
cec media: cec: cec-api: add locking in cec_release() 2024-06-16 13:28:44 +02:00
common media: v4l2-tpg: fix some memleaks in tpg_alloc 2024-03-26 18:22:19 -04:00
dvb-core media: dvbdev: Initialize sbuf 2024-07-05 09:08:28 +02:00
dvb-frontends media: dvb-frontends: tda10048: Fix integer overflow 2024-07-18 11:40:49 +02:00
firewire
i2c media: tc358743: register v4l2 async device only after successful setup 2024-03-26 18:22:19 -04:00
mc media: mc: mark the media devnode as registered from the, start 2024-06-16 13:28:50 +02:00
mmc
pci media: ngene: Add dvb_ca_en50221_init return value check 2024-06-16 13:28:39 +02:00
platform media: rockchip: rga: fix swizzling for RGB formats 2024-02-23 08:25:00 +01:00
radio media: radio-shark2: Avoid led_names truncations 2024-06-16 13:28:39 +02:00
rc media: sharp: fix sharp encoding 2023-11-28 16:50:21 +00:00
spi
tuners media: xc4000: Fix atomicity violation in xc4000_get_frequency 2024-04-13 12:51:22 +02:00
usb media: dw2102: fix a potential buffer overflow 2024-07-18 11:40:52 +02:00
v4l2-core media: v4l2-core: hold videodev_lock until dev reg, finishes 2024-06-16 13:28:50 +02:00
Kconfig
Makefile