linux/drivers/media
Dr. David Alan Gilbert 910f5f05f9 [media] Guard a divide in v4l1 compat layer
Hi,
  I managed to trigger a divide by 0 in the v4l compat code
with the mem2mem test module; I suspect perhaps it shouldn't
have been returning a 0 pixel wide picture, but either way it seems
right to guard this divide by 0 in the compatibility layer.

Tested on 2.6.36 (ubuntu build, but the code in this is the same as upstream),
but ***not tested with a real video device***.

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
cc: stable.kernel.org
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2010-10-25 18:53:44 -02:00
..
common [media] tda18271: allow restricting max out to 4 bytes 2010-10-21 01:17:43 -02:00
dvb [media] af9015: support for DigitalNow TinyTwin v3 [1f4d:9016] 2010-10-23 11:13:38 -02:00
IR [media] imon: fix nomouse modprobe option 2010-10-23 17:49:09 -02:00
radio [media] [RFC,1/1] V4L2: Use new CAP bits in existing RDS capable drivers 2010-10-22 23:49:47 -02:00
video [media] Guard a divide in v4l1 compat layer 2010-10-25 18:53:44 -02:00
Kconfig V4L/DVB (13612): IR: Move common IR code to drivers/media/IR 2009-12-16 00:18:42 -02:00
Makefile V4L/DVB (13612): IR: Move common IR code to drivers/media/IR 2009-12-16 00:18:42 -02:00