linux/drivers/media/video/gspca
Jesper Juhl dadefe3b71 [media] gspca/stv06xx_pb0100: Don't potentially deref NULL in pb0100_start()
usb_altnum_to_altsetting() may return NULL. If it does we'll dereference a
NULL pointer in
drivers/media/video/gspca/stv06xx/stv06xx_pb0100.c::pb0100_start().
As far as I can tell there's not really anything more sensible than
-ENODEV that we can return in that situation, but I'm not at all intimate
with this code so I'd like a bit of review/comments on this before it's
applied.
Anyway, here's a proposed patch.

Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Cc: Jean-Francois Moine <moinejf@free.fr>
Cc: Hans de Goede <hdegoede@redhat.com>
Cc: Erik Andren <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2011-05-20 09:29:56 -03:00
..
gl860 Fix common misspellings 2011-03-31 11:26:23 -03:00
m5602 [media] gspca: Remove __devinit, __devinitconst and __devinitdata 2011-01-19 11:45:35 -02:00
stv06xx [media] gspca/stv06xx_pb0100: Don't potentially deref NULL in pb0100_start() 2011-05-20 09:29:56 -03:00
autogain_functions.h [media] gspca: New file autogain_functions.h 2011-03-22 04:54:43 -03:00
benq.c [media] gspca: Remove __devinit, __devinitconst and __devinitdata 2011-01-19 11:45:35 -02:00
coarse_expo_autogain.h V4L/DVB: gscpa_sonixb: Differentiate between sensors with a coarse and fine expo ctrl 2010-02-26 15:11:08 -03:00
conex.c [media] gspca: Remove __devinit, __devinitconst and __devinitdata 2011-01-19 11:45:35 -02:00
cpia1.c [media] gspca_cpia1: Add support for button 2011-03-22 04:54:39 -03:00
etoms.c [media] gspca: Remove __devinit, __devinitconst and __devinitdata 2011-01-19 11:45:35 -02:00
finepix.c [media] gspca: Remove __devinit, __devinitconst and __devinitdata 2011-01-19 11:45:35 -02:00
gspca.c Fix common misspellings 2011-03-31 11:26:23 -03:00
gspca.h [media] gspca_main: Remove no longer used users variable 2011-01-19 11:44:56 -02:00
jeilinj.c [media] gspca - jeilinj: add SPORTSCAM specific controls 2011-05-20 09:27:22 -03:00
jpeg.h [media] gspca: Remove useless instructions 2011-01-19 11:45:37 -02:00
Kconfig [media] gspca - kinect: New subdriver for Microsoft Kinect 2011-05-20 09:27:27 -03:00
kinect.c [media] gspca - kinect: New subdriver for Microsoft Kinect 2011-05-20 09:27:27 -03:00
konica.c [media] gspca: Remove __devinit, __devinitconst and __devinitdata 2011-01-19 11:45:35 -02:00
Makefile [media] gspca - kinect: New subdriver for Microsoft Kinect 2011-05-20 09:27:27 -03:00
mars.c Fix common misspellings 2011-03-31 11:26:23 -03:00
mr97310a.c Fix common misspellings 2011-03-31 11:26:23 -03:00
nw80x.c [media] gspca - nw80x: Fix exposure for some webcams 2011-03-22 16:38:25 -03:00
ov519.c Fix common misspellings 2011-03-31 11:26:23 -03:00
ov534_9.c [media] gspca: Remove __devinit, __devinitconst and __devinitdata 2011-01-19 11:45:35 -02:00
ov534.c [media] gspca - ov534: Add saturation control for ov767x 2011-03-21 20:32:08 -03:00
pac207.c [media] gspca: Remove __devinit, __devinitconst and __devinitdata 2011-01-19 11:45:35 -02:00
pac7302.c [media] gspca: Remove __devinit, __devinitconst and __devinitdata 2011-01-19 11:45:35 -02:00
pac7311.c [media] gspca: Remove __devinit, __devinitconst and __devinitdata 2011-01-19 11:45:35 -02:00
pac_common.h V4L/DVB: gspca_pac7302: much improved exposure control 2010-02-26 15:11:09 -03:00
sn9c20x.c [media] gspca_sn9c20x: Add another MSI laptop to the sn9c20x upside down list 2011-03-21 20:32:10 -03:00
sn9c2028.c [media] gspca: Remove __devinit, __devinitconst and __devinitdata 2011-01-19 11:45:35 -02:00
sn9c2028.h V4L/DVB (13992): gspca_sn9c2028: New gspca subdriver 2010-02-26 15:10:39 -03:00
sonixb.c Fix common misspellings 2011-03-31 11:26:23 -03:00
sonixj.c [media] gspca - sonixj: The pin S_PWR_DN is inverted for sensor mi0360 2011-03-21 20:32:08 -03:00
spca500.c Fix common misspellings 2011-03-31 11:26:23 -03:00
spca501.c [media] gspca: Remove __devinit, __devinitconst and __devinitdata 2011-01-19 11:45:35 -02:00
spca505.c [media] gspca: Remove __devinit, __devinitconst and __devinitdata 2011-01-19 11:45:35 -02:00
spca506.c V4L/DVB (13899): gspca - all subdrivers: Make control descriptors constant. 2010-02-26 15:10:29 -03:00
spca508.c Fix common misspellings 2011-03-31 11:26:23 -03:00
spca561.c [media] gspca: Remove __devinit, __devinitconst and __devinitdata 2011-01-19 11:45:35 -02:00
spca1528.c [media] gspca: Remove __devinit, __devinitconst and __devinitdata 2011-01-19 11:45:35 -02:00
sq905.c Fix common misspellings 2011-03-31 11:26:23 -03:00
sq905c.c [media] gspca: Remove __devinit, __devinitconst and __devinitdata 2011-01-19 11:45:35 -02:00
sq930x.c [media] gspca: Remove __devinit, __devinitconst and __devinitdata 2011-01-19 11:45:35 -02:00
stk014.c [media] gspca: Remove __devinit, __devinitconst and __devinitdata 2011-01-19 11:45:35 -02:00
stv0680.c [media] gspca: Remove __devinit, __devinitconst and __devinitdata 2011-01-19 11:45:35 -02:00
sunplus.c [media] gspca: Remove __devinit, __devinitconst and __devinitdata 2011-01-19 11:45:35 -02:00
t613.c [media] gspca: Remove __devinit, __devinitconst and __devinitdata 2011-01-19 11:45:35 -02:00
tv8532.c [media] gspca: Remove __devinit, __devinitconst and __devinitdata 2011-01-19 11:45:35 -02:00
vc032x.c [media] gspca: Remove __devinit, __devinitconst and __devinitdata 2011-01-19 11:45:35 -02:00
vicam.c [media] gspca: Add new vicam subdriver 2011-03-21 20:32:10 -03:00
w996Xcf.c [media] gspca - ov519: Propagate errors to higher level 2010-12-29 08:16:42 -02:00
xirlink_cit.c [media] gspca: Remove __devinit, __devinitconst and __devinitdata 2011-01-19 11:45:35 -02:00
zc3xx-reg.h [media] gspca - zc3xx: Remove double definition 2011-03-22 04:54:40 -03:00
zc3xx.c [media] gspca - zc3xx: Adjust the mc501cb exchanges 2011-05-20 09:27:24 -03:00