V4L/DVB (9920): em28xx: fix NULL pointer dereference in call to VIDIOC_INT_RESET...
authorDevin Heitmueller <dheitmueller@linuxtv.org>
Wed, 17 Dec 2008 02:09:35 +0000 (23:09 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 23 Dec 2008 11:13:50 +0000 (09:13 -0200)
commit231ffc9c07021afcfb1afa229aa4935730e5163b
tree5f2e5a712dee0e1ee8d0600da17204e6308007be
parenta67534a7824c7ef3c4c377f82e60fcaa137f9a2c
V4L/DVB (9920): em28xx: fix NULL pointer dereference in call to VIDIOC_INT_RESET command

Fix a NULL pointer dereference that would occur if the video decoder tied to
the em28xx supports the VIDIOC_INT_RESET call (for example: the cx25840 driver)

Signed-off-by: Devin Heitmueller <dheitmueller@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/em28xx/em28xx-video.c