]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB (10625): ivtv: fix decoder crash regression
authorHans Verkuil <hverkuil@xs4all.nl>
Sat, 14 Feb 2009 22:58:33 +0000 (19:58 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 17 Feb 2009 12:43:09 +0000 (09:43 -0300)
commit75ef029d08a2a5086a82840cdb0bcf92b57240c0
treed7c4699dfa9b97b2a189643043886fe0fe180212
parente1e28e8b3b3eace15a257ccc7d8a944dd2e303bb
V4L/DVB (10625): ivtv: fix decoder crash regression

The video_ioctl2 conversion of ivtv in kernel 2.6.27 introduced a bug
causing decoder commands to crash. The decoder commands should have been
handled from the video_ioctl2 default handler, ensuring correct mapping
of the argument between user and kernel space. Unfortunately they ended
up before the video_ioctl2 call, causing random crashes.

Thanks to hannes@linus.priv.at for testing and helping me track down the
cause!

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/ivtv/ivtv-ioctl.c