linux/drivers/media
Johan Hovold 0cd273bb5e [media] cx231xx-cards: 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:31:45 -03:00
..
cec [media] cec: don't Feature Abort msgs from Unregistered 2017-03-22 11:15:55 -03:00
common [media] tveeprom: get rid of unused arg on tveeprom_hauppauge_analog() 2017-03-03 07:35:02 -03:00
dvb-core [media] dvb_frontend: add kernel-doc tag for a missing parameter 2017-04-05 15:35:18 -03:00
dvb-frontends Linux 4.11-rc5 2017-04-04 11:11:43 -03:00
firewire [media] firewire: don't break long lines 2016-10-21 10:06:00 -02:00
i2c [media] i2c: adv7842: Use cec_get_drvdata() 2017-04-05 15:19:41 -03:00
mmc
pci [media] cx88: convert struct cx88_core.refcount from atomic_t to refcount_t 2017-04-05 15:25:54 -03:00
platform [media] vcodec: mediatek: mark pm functions as __maybe_unused 2017-04-10 06:43:10 -03:00
radio [media] si4713: Add OF device ID table 2017-03-22 11:23:58 -03:00
rc [media] rc: promote lirc_sir out of staging 2017-04-05 14:50:57 -03:00
spi [media] gs1662: drop kfree for memory allocated with devm_kzalloc 2016-10-24 17:59:08 -02:00
tuners Linux 4.11-rc1 2017-03-06 06:49:34 -03:00
usb [media] cx231xx-cards: fix NULL-deref at probe 2017-04-10 07:31:45 -03:00
v4l2-core [media] v4l2-compat-ioctl32: VIDIOC_S_EDID should return all fields on error 2017-04-10 07:27:09 -03:00
cec-edid.c [media] cec-edid: check for IEEE identifier 2016-08-22 14:04:51 -03:00
Kconfig [media] Kconfig: fix breakages when DVB_CORE is not selected 2016-11-18 17:59:17 -02:00
Makefile [media] cec: move the CEC framework out of staging and to media 2016-11-16 15:40:20 -02:00
media-device.c [media] media: Rename graph and pipeline structs and functions 2017-01-27 16:13:24 -02:00
media-devnode.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
media-entity.c [media] media: entity: Add debug information to graph walk 2017-01-30 11:33:26 -02:00