linux/drivers/media/usb/dvb-usb-v2
Malcolm Priestley 3d932ee27e media: dvb-usb-v2: lmedm04: Improve logic checking of warm start
Warm start has no check as whether a genuine device has
connected and proceeds to next execution path.

Check device should read 0x47 at offset of 2 on USB descriptor read
and it is the amount requested of 6 bytes.

Fix for
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access as

Reported-by: Andrey Konovalov <andreyknvl@google.com>
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-12-11 07:51:39 -05:00
..
af9015.c media: rc: rename RC_TYPE_* to RC_PROTO_* and RC_BIT_* to RC_PROTO_BIT_* 2017-08-20 10:02:48 -04:00
af9015.h [media] af9015: use correct 7-bit i2c addresses 2017-06-20 10:12:24 -03:00
af9035.c media: rc: rename RC_TYPE_* to RC_PROTO_* and RC_BIT_* to RC_PROTO_BIT_* 2017-08-20 10:02:48 -04:00
af9035.h
anysee.c media: rc: rename RC_TYPE_* to RC_PROTO_* and RC_BIT_* to RC_PROTO_BIT_* 2017-08-20 10:02:48 -04:00
anysee.h
au6610.c
au6610.h
az6007.c media: rc: rename RC_TYPE_* to RC_PROTO_* and RC_BIT_* to RC_PROTO_BIT_* 2017-08-20 10:02:48 -04:00
ce6230.c
ce6230.h
dvb_usb_common.h
dvb_usb_core.c media: usb: dvb-usb-v2: dvb_usb_core: remove redundant code in dvb_usb_fe_sleep 2017-11-07 04:42:27 -05:00
dvb_usb_urb.c
dvb_usb.h media: rc: rename RC_TYPE_* to RC_PROTO_* and RC_BIT_* to RC_PROTO_BIT_* 2017-08-20 10:02:48 -04:00
dvbsky.c media: rc: rename RC_TYPE_* to RC_PROTO_* and RC_BIT_* to RC_PROTO_BIT_* 2017-08-20 10:02:48 -04:00
ec168.c
ec168.h
gl861.c
gl861.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Kconfig
lmedm04.c media: dvb-usb-v2: lmedm04: Improve logic checking of warm start 2017-12-11 07:51:39 -05:00
lmedm04.h
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mxl111sf-demod.c
mxl111sf-demod.h
mxl111sf-gpio.c
mxl111sf-gpio.h
mxl111sf-i2c.c media: mxl111sf: remove redundant assignment to index 2017-10-31 07:27:14 -04:00
mxl111sf-i2c.h
mxl111sf-phy.c
mxl111sf-phy.h
mxl111sf-reg.h
mxl111sf-tuner.c
mxl111sf-tuner.h
mxl111sf.c media: mxl111sf: Fix potential null pointer dereference 2017-08-27 06:58:19 -04:00
mxl111sf.h [media] mxl111sf: Fix driver to use heap allocate buffers for USB messages 2017-06-06 07:28:09 -03:00
rtl28xxu.c media: rtl28xxu: make array rc_nec_tab static const 2017-09-23 08:28:28 -04:00
rtl28xxu.h
usb_urb.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
zd1301.c [media] zd1301: fix building interface driver without demodulator 2017-02-08 11:59:39 -02:00