linux/drivers/media/dvb/dvb-usb
Adrian Bunk 56760f07a7 V4L/DVB (4525): Drivers/media/dvb/dvb-usb/dibusb-mb.c: NULL dereference
The Coverity checker spotted the following "we dereference d->fe only
when we know it's NULL" bug:
<--  snip  -->
...
static int dibusb_dib3000mb_frontend_attach(struct dvb_usb_device *d)
{
...
if ((d->fe = dib3000mb_attach(&demod_cfg,&d->i2c_adap,&st->ops)) == NULL) {
d->fe->ops.tuner_ops.init = dvb_usb_tuner_init_i2c;
d->fe->ops.tuner_ops.set_params = dvb_usb_tuner_set_params_i2c;
return -ENODEV;
}
...
<--  snip  -->

Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-09-26 12:30:34 -03:00
..
a800.c V4L/DVB (4464): FIX_ AverTV A800 trouble 2006-09-26 11:53:47 -03:00
cxusb.c V4L/DVB (4495): Fix "no data from ZL10353 based USB tuner" problem 2006-09-26 12:30:32 -03:00
cxusb.h V4L/DVB (3575): Cxusb: fix i2c debug messages for bluebird devices 2006-03-24 16:26:55 -03:00
dibusb-common.c V4L/DVB (4468): Another fix for attaching the DiB3000MC 2006-09-26 11:53:48 -03:00
dibusb-mb.c V4L/DVB (4525): Drivers/media/dvb/dvb-usb/dibusb-mb.c: NULL dereference 2006-09-26 12:30:34 -03:00
dibusb-mc.c V4L/DVB (4453): [PATCH] dibcom mod3000p + mt2060 -- remote control 2006-09-26 11:53:42 -03:00
dibusb.h V4L/DVB: Complete rewrite of the DiB3000mc-driver 2006-09-26 11:53:46 -03:00
digitv.c V4L/DVB (4386): Convert DVB devices to use dvb_attach() 2006-09-26 11:53:25 -03:00
digitv.h [PATCH] dvb: Add generalized dvb-usb driver 2005-06-24 00:05:30 -07:00
dtt200u-fe.c V4L/DVB (4028): Change dvb_frontend_ops to be a real field instead of a pointer field inside dvb_frontend 2006-06-25 02:00:42 -03:00
dtt200u.c V4L/DVB (4442): [PATCH] Freecom DVB-T stick with ID 14aa:0225 2006-09-26 09:03:06 -03:00
dtt200u.h V4L/DVB (3321): Indention cleanups 2006-01-09 18:21:34 -02:00
dvb-usb-common.h DVB (2420): Makes integration of future devices easier 2006-01-09 15:25:04 -02:00
dvb-usb-dvb.c V4L/DVB: DiB3000MC: set FE to NULL after being freed 2006-09-26 11:53:48 -03:00
dvb-usb-firmware.c V4L/DVB (3428): drivers/media/dvb/ possible cleanups 2006-01-23 17:11:09 -02:00
dvb-usb-i2c.c V4L/DVB (4028): Change dvb_frontend_ops to be a real field instead of a pointer field inside dvb_frontend 2006-06-25 02:00:42 -03:00
dvb-usb-ids.h V4L/DVB: Added support for LeadTek DVB-T USB clone 2006-09-26 11:53:42 -03:00
dvb-usb-init.c V4L/DVB (3413): Typos grab bag of the month 2006-03-08 12:30:19 -03:00
dvb-usb-remote.c [PATCH] drivers/media: convert to dynamic input_dev allocation 2005-10-28 09:52:53 -07:00
dvb-usb-urb.c V4L/DVB (3318b): sem2mutex: drivers/media/, #2 2006-02-07 06:49:14 -02:00
dvb-usb.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
gp8psk-fe.c V4L/DVB (4029): [PATCH] Genpix 8PSK->USB driver (Take 2) 2006-06-25 02:00:32 -03:00
gp8psk.c V4L/DVB (4030): Minor code cleanup on the genpix-module 2006-06-25 02:00:33 -03:00
gp8psk.h V4L/DVB (4029): [PATCH] Genpix 8PSK->USB driver (Take 2) 2006-06-25 02:00:32 -03:00
Kconfig V4L/DVB: MT2060: Code cleanups, adding to new build-mechanism 2006-09-26 11:53:43 -03:00
Makefile V4L/DVB (4029): [PATCH] Genpix 8PSK->USB driver (Take 2) 2006-06-25 02:00:32 -03:00
nova-t-usb2.c V4L/DVB (4463): New firmware for Nova-t-usb2 2006-09-26 11:53:47 -03:00
umt-010.c V4L/DVB (4386): Convert DVB devices to use dvb_attach() 2006-09-26 11:53:25 -03:00
vp702x-fe.c V4L/DVB (4028): Change dvb_frontend_ops to be a real field instead of a pointer field inside dvb_frontend 2006-06-25 02:00:42 -03:00
vp702x.c V4L/DVB (3318b): sem2mutex: drivers/media/, #2 2006-02-07 06:49:14 -02:00
vp702x.h V4L/DVB (3428): drivers/media/dvb/ possible cleanups 2006-01-23 17:11:09 -02:00
vp7045-fe.c V4L/DVB (4028): Change dvb_frontend_ops to be a real field instead of a pointer field inside dvb_frontend 2006-06-25 02:00:42 -03:00
vp7045.c Merge branch 'origin' 2006-03-21 08:52:18 -08:00
vp7045.h [PATCH] dvb: Add generalized dvb-usb driver 2005-06-24 00:05:30 -07:00