linux/drivers/media/usb/cx231xx
Johan Hovold 65f921647f [media] cx231xx-audio: fix NULL-deref at probe
Make sure to check the number of endpoints to avoid dereferencing a
NULL-pointer or accessing memory beyond the endpoint array should a
malicious device lack the expected endpoints.

Fixes: e0d3bafd02 ("V4L/DVB (10954): Add cx231xx USB driver")

Cc: stable <stable@vger.kernel.org>     # 2.6.30
Cc: Sri Deevi <Srinivasa.Deevi@conexant.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-04-10 07:34:46 -03:00
..
cx231xx-417.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
cx231xx-audio.c [media] cx231xx-audio: fix NULL-deref at probe 2017-04-10 07:34:46 -03:00
cx231xx-avcore.c [media] cx231xx: don't return error on success 2016-09-05 15:26:30 -03:00
cx231xx-cards.c [media] cx231xx-cards: fix NULL-deref at probe 2017-04-10 07:31:45 -03:00
cx231xx-conf-reg.h
cx231xx-core.c [media] cx231xx: Fix I2C on Internal Master 3 Bus 2017-02-07 09:09:10 -02:00
cx231xx-dif.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
cx231xx-dvb.c [media] cx231xx: Initial support Evromedia USB Full Hybrid Full HD 2017-02-07 09:08:32 -02:00
cx231xx-i2c.c [media] cx231xx-i2c: reduce stack size in bus scan 2017-03-03 07:21:00 -03:00
cx231xx-input.c [media] rc-main: assign driver type during allocation 2017-01-30 13:59:57 -02:00
cx231xx-pcb-cfg.c [media] cx231xx: Improve the log message 2014-11-03 15:59:59 -02:00
cx231xx-pcb-cfg.h
cx231xx-reg.h
cx231xx-vbi.c [media] media: usb: cx231xx: cx231xx-vbi: don't print error when allocating urb fails 2016-08-24 08:49:55 -03:00
cx231xx-vbi.h
cx231xx-video.c [media] cx231xx: get rid of CX231XX_VMUX_DEBUG 2016-02-16 08:57:41 -02:00
cx231xx.h [media] cx231xx: Initial support Evromedia USB Full Hybrid Full HD 2017-02-07 09:08:32 -02:00
Kconfig [media] cx231xx: Initial support Evromedia USB Full Hybrid Full HD 2017-02-07 09:08:32 -02:00
Makefile