android_kernel_xiaomi_sm8350/drivers/media/dvb
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
..
b2c2 V4L/DVB (4441): Flexcop/nxt200x attach fix 2006-09-26 11:53:40 -03:00
bt8xx V4L/DVB (4432): Fix Circular dependencies 2006-09-26 11:53:37 -03:00
cinergyT2 Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
dvb-core V4L/DVB (4492): [dvb_attach] dvb_frontend_detach fix 2006-09-26 12:30:31 -03:00
dvb-usb V4L/DVB (4525): Drivers/media/dvb/dvb-usb/dibusb-mb.c: NULL dereference 2006-09-26 12:30:34 -03:00
frontends V4L/DVB (4523): Fix a warning caused by a typo (comma instead of dot-comma) 2006-09-26 12:30:34 -03:00
pluto2 V4L/DVB (4608b): i2c deps fix on DVB 2006-09-10 13:45:58 -03:00
ttpci V4L/DVB (4501): Add support for knc one dvb-s plus with 1894:0011 2006-09-26 12:30:32 -03:00
ttusb-budget V4L/DVB (4424): Add missing dvb-pll Kconfig infrastructure 2006-09-26 11:53:36 -03:00
ttusb-dec V4L/DVB (4386): Convert DVB devices to use dvb_attach() 2006-09-26 11:53:25 -03:00
Kconfig V4L/DVB (4037): Make the bridge devices that depend on I2C dependant on I2C 2006-05-23 15:56:38 -03:00
Makefile [PATCH] dvb: add Pluto2 driver 2005-07-07 18:23:55 -07:00