V4L/DVB: media: ir-keytable: null dereference in debug code
commitede67a30f549e1872be57e7d6f5f9dd97bb372ae
authorDan Carpenter <error27@gmail.com>
Fri, 6 Aug 2010 06:31:00 +0000 (6 03:31 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 9 Aug 2010 02:43:06 +0000 (8 23:43 -0300)
treeced00f0ceaebae992b64ac4cc57212edb9b55b4c
parentf7b80e6919df812b4bed99a927325312a904111b
V4L/DVB: media: ir-keytable: null dereference in debug code

"ir_dev->props" can be NULL.  We only use raw mode if "ir_dev->props" is
non-NULL and "ir_dev->props->driver_type == RC_DRIVER_IR_RAW".

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/IR/ir-keytable.c