linux/drivers/media/usb/gspca
Johan Hovold aa58fedb8c [media] gspca: konica: add missing endpoint sanity check
Make sure to check the number of endpoints to avoid accessing memory
beyond the endpoint array should a device lack the expected endpoints.

Note that, as far as I can tell, the gspca framework has already made
sure there is at least one endpoint in the current alternate setting so
there should be no risk for a NULL-pointer dereference here.

Fixes: b517af7228 ("V4L/DVB: gspca_konica: New gspca subdriver for
konica chipset using cams")

Cc: stable <stable@vger.kernel.org>     # 2.6.37
Cc: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Hans Verkuil <hansverk@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-04-05 15:07:31 -03:00
..
gl860 [media] gspca_gl860: Clean up idxdata structs 2014-04-16 18:13:56 -03:00
m5602 [media] gspca: don't break long lines 2016-10-21 09:41:37 -02:00
stv06xx [media] gspca_stv06xx: remove redundant check for err < 0 2017-02-03 11:18:33 -02:00
autogain_functions.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
benq.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
conex.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
cpia1.c sched/headers: Prepare to move signal wakeup & sigpending methods from <linux/sched.h> into <linux/sched/signal.h> 2017-03-02 08:42:32 +01:00
dtcs033.c [media] media:gspca:dtcs033 Clean sparse check warnings on endianess 2014-04-23 10:07:52 -03:00
etoms.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
finepix.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
gspca.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
gspca.h [media] trivial: drivers/media/usb/gspca/gspca.h: indent with TABs, not spaces 2014-09-08 10:00:57 -03:00
jeilinj.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
jl2005bcd.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
jpeg.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
Kconfig [media] media: fix gspca drivers build dependencies 2015-03-03 10:16:31 -03:00
kinect.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
konica.c [media] gspca: konica: add missing endpoint sanity check 2017-04-05 15:07:31 -03:00
Makefile [media] gspca_touptek: Add support for ToupTek UCMOS series USB cameras 2015-01-29 18:13:13 -02:00
mars.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
mr97310a.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
nw80x.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
ov519.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
ov534_9.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
ov534.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
pac207.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
pac7302.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
pac7311.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
pac_common.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
se401.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
se401.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
sn9c20x.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
sn9c2028.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
sn9c2028.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
sonixb.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
sonixj.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
spca500.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
spca501.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
spca505.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
spca506.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
spca508.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
spca561.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
spca1528.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
sq905.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
sq905c.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
sq930x.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
stk014.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
stk1135.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
stk1135.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
stv0680.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
sunplus.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
t613.c scripts/spelling.txt: add "neded" pattern and fix typo instances 2017-02-27 18:43:47 -08:00
topro.c [media] gspca: don't break long lines 2016-10-21 09:41:37 -02:00
touptek.c [media] touptek: cast char types on %x printk 2016-03-10 13:37:45 -03:00
tv8532.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
vc032x.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
vicam.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
w996Xcf.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
xirlink_cit.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
zc3xx-reg.h
zc3xx.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00