OpenCloudOS-Kernel/drivers/media/usb/cx231xx
Johan Hovold 6c3b047fa2 [media] cx231xx-cards: fix NULL-deref on missing association descriptor
Make sure to check that we actually have an Interface Association
Descriptor before dereferencing it during probe to avoid dereferencing a
NULL-pointer.

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

Cc: stable <stable@vger.kernel.org>     # 2.6.30
Reported-by: Andrey Konovalov <andreyknvl@google.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Tested-by: Andrey Konovalov <andreyknvl@google.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2017-10-04 17:03:47 -03:00
..
Kconfig [media] cx231xx: Initial support Astrometa T2hybrid 2017-06-06 07:53:26 -03:00
Makefile
cx231xx-417.c media: cx231xx: constify videobuf_queue_ops structures 2017-08-20 08:06:58 -04:00
cx231xx-audio.c media: usb: make snd_pcm_hardware const 2017-08-20 08:05:10 -04: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 on missing association descriptor 2017-10-04 17:03:47 -03:00
cx231xx-conf-reg.h
cx231xx-core.c media: cx231xx: only unregister successfully registered i2c adapters 2017-08-09 11:03:13 -04: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: fix use-after-free when unregistering the i2c_client for the dvb demod 2017-08-27 06:33:47 -04:00
cx231xx-i2c.c media: usb: make i2c_adapter const 2017-08-26 08:41:58 -04:00
cx231xx-input.c media: rc: rename RC_TYPE_* to RC_PROTO_* and RC_BIT_* to RC_PROTO_BIT_* 2017-08-20 10:02:48 -04:00
cx231xx-pcb-cfg.c [media] cx231xx: Improve the log message 2014-11-03 15:59:59 -02:00
cx231xx-pcb-cfg.h [media] cx231xx: return an error if it can't read PCB config 2014-07-27 16:57:43 -03:00
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: constify videobuf_queue_ops structures 2017-08-20 08:06:58 -04:00
cx231xx.h media: cx231xx: drop return value of cx231xx_i2c_unregister 2017-08-09 10:17:00 -04:00