[media] dib0700: fix possible NULL pointer dereference
authorMariusz Kozlowski <mk@lab.zgora.pl>
Sat, 26 Mar 2011 18:23:56 +0000 (15:23 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 20 May 2011 12:28:26 +0000 (09:28 -0300)
commitfd206508492caffaccc36cbfc40d3b1f8eeb1f0b
tree51a975111c3ac28431a93d137c304f48bf0dd70e
parent92f6ed71cafae8580bd481db66edb81c3d9d958c
[media] dib0700: fix possible NULL pointer dereference

Seems like 'adap->fe' test for NULL was meant to be before we dereference
that pointer.

Signed-off-by: Mariusz Kozlowski <mk@lab.zgora.pl>
Acked-by: Patrick Boettcher <patrick.boettcher@dibcom.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-usb/dib0700_devices.c