From: Stefan Richter Date: Sat, 26 Dec 2009 00:47:12 +0000 (-0300) Subject: V4L/DVB (13953): firedtv: add missing NULL pointer check X-Git-Tag: v2.6.34-rc1~280^2~279 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2ad41f9ef72d7b3309a2578bf4432a262ff2b47;p=pandora-kernel.git V4L/DVB (13953): firedtv: add missing NULL pointer check If there is ever going to be a FireDTV or FloppyDTV firmware which does not provide a minimal ASCII textual descriptor for Model_Id --- or if the descriptor is provided indirectly in a descriptor directory --- the ieee1394 variant of the device probe of firedtv would dereference a NULL pointer. The firewire variant of firedtv's device probe is not affected. The fix makes sure that such an unexpected firmware is safely recognized by fdtv_alloc as an unknown firmware. Signed-off-by: Stefan Richter Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed