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
..
2006-09-20 15:58:44 +02:00
2006-09-23 15:33:43 -05:00
2006-09-25 17:38:35 -07:00
2006-08-31 15:45:48 +10:00
2006-09-23 21:03:52 -05:00
2006-08-07 06:38:41 -04:00
2006-07-14 21:53:54 -07:00
2006-09-24 01:52:47 -04:00
2006-09-22 17:48:57 -07:00
2006-07-12 15:38:28 -07:00
2006-08-10 07:31:37 -04:00
2006-08-10 07:31:37 -04:00