]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
V4L/DVB (8920): cx18/ivtv: fix check of window boundaries for VIDIOC_S_FMT
authorHans Verkuil <hverkuil@xs4all.nl>
Sat, 6 Sep 2008 11:24:37 +0000 (08:24 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 12 Oct 2008 11:36:59 +0000 (09:36 -0200)
commiteffc3466d32108bec7da19aa23c1fddee9cafbab
treebfae96d8ffbe9d249f120a56cbdeb2d54a0a526c
parentff5f26b40ab43a6c263834665bfa10d6114a27cd
V4L/DVB (8920): cx18/ivtv: fix check of window boundaries for VIDIOC_S_FMT

It was possible to set out-of-bounds windows sizes, this is now
fixed.

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