diff options
| author | 2006-08-15 11:38:40 -0300 | |
|---|---|---|
| committer | 2006-09-26 12:30:34 -0300 | |
| commit | 56760f07a7948d53b807c8f00c1639df9acf97fd (patch) | |
| tree | a894fb39271b09b5364959eb541d6298640e50d6 /include/linux/errqueue.h | |
| parent | V4L/DVB (4523): Fix a warning caused by a typo (comma instead of dot-comma) (diff) | |
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>
Diffstat (limited to 'include/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions
