]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita19d24c4f4142aa1a88d21897b0a6a482075afcb
tree5f2e5a712dee0e1ee8d0600da17204e6308007be
parent7e843505ff8f4841feffd69c7943d19a8fd6c37c
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