]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
V4L/DVB (6328): ivtv: fix NULL dereference
authorAdrian Bunk <bunk@kernel.org>
Sun, 14 Oct 2007 17:51:37 +0000 (14:51 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Mon, 22 Oct 2007 14:01:40 +0000 (12:01 -0200)
commit7e7f05ca156d34b80e53105e4ef9bc1497a68439
tree12ea6c65c60c9fcb29724b4f8f9906a5783f0500
parent1419683d85367df90079fb5535865ac0841ebbea
V4L/DVB (6328): ivtv: fix NULL dereference

We shouldn't dereference "itv" when we know it's NULL...

Spotted by the Coverity checker.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Reviewed-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/ivtv/ivtv-fileops.c