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-08-20 21:49:29 -04:00
2006-09-24 20:07:49 -07:00
2006-09-24 20:09:33 -07:00
2006-09-20 15:58:44 +02:00
2006-09-23 15:33:43 -05:00
2006-07-24 12:44:34 -07:00
2006-08-27 11:01:33 -07:00
2006-09-25 17:38:35 -07:00
2006-07-31 13:28:36 -07:00
2006-09-22 19:15:23 -04:00
2006-09-21 11:46:22 +10:00
2006-07-21 14:50:13 -07:00
2006-08-06 08:57:46 -07:00
2006-08-26 13:05:19 -07:00
2006-08-31 15:45:48 +10:00
2006-09-22 15:19:58 +10:00
2006-08-27 11:01:28 -07:00
2006-09-23 21:03:52 -05:00
2006-08-23 00:48:03 -04:00
2006-08-07 06:38:41 -04:00
2006-09-22 17:48:57 -07:00
2006-09-21 11:46:27 +10:00
2006-09-26 12:30:34 -03:00
2006-08-27 22:30:11 -05:00
2006-09-07 16:01:30 +01:00
2006-09-23 16:20:48 +01:00
2006-09-25 16:39:56 -07:00
2006-09-24 01:52:47 -04:00
2006-07-31 13:28:41 -07:00
2006-08-06 08:57:49 -07:00
2006-08-27 11:01:28 -07:00
2006-09-23 18:01:46 -05:00
2006-09-18 01:47:13 -07:00
2006-09-24 20:07:49 -07:00
2006-09-22 12:48:03 -07:00
2006-09-22 17:48:57 -07:00
2006-09-25 17:38:36 -07:00
2006-08-10 07:31:37 -04:00
2006-08-10 07:31:37 -04:00