linux/drivers/media
Hans Verkuil 1b8b10cc7e [media] v4l2-ioctl: add blocks check for VIDIOC_SUBDEV_G/S_EDID
The maximum size of an EDID is 32768 bytes, which is 32768 / 128 = 256 blocks.
Return -EINVAL if blocks > 256 to ensure that the memory allocation is sane.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-10-07 10:19:34 -03:00
..
common [media] v4l2: make vidioc_s_fbuf const 2012-09-26 10:42:36 -03:00
dvb-core [media] drivers/media: Remove unnecessary semicolon 2012-10-07 09:15:18 -03:00
dvb-frontends [media] ds3000: add module parameter to force firmware upload 2012-10-07 09:31:37 -03:00
firewire [media] Fix some Makefile rules 2012-08-16 19:55:03 -03:00
i2c [media] drivers/media: Remove unnecessary semicolon 2012-10-07 09:15:18 -03:00
mmc [media] Fix some Makefile rules 2012-08-16 19:55:03 -03:00
parport [media] Add missing help for some menuconfig items 2012-08-21 08:17:37 -03:00
pci [media] cx25821: testing the wrong variable 2012-10-07 09:50:24 -03:00
platform [media] omap3isp: Fix compilation error in ispreg.h 2012-10-07 10:14:13 -03:00
radio [media] drivers/media: Remove unnecessary semicolon 2012-10-07 09:15:18 -03:00
rc [media] rc-msi-digivox-ii: Add full scan keycodes 2012-10-07 09:57:34 -03:00
tuners [media] tda18271-common: hold the I2C adapter during write transfers 2012-10-07 09:43:01 -03:00
usb [media] drivers/media: Remove unnecessary semicolon 2012-10-07 09:15:18 -03:00
v4l2-core [media] v4l2-ioctl: add blocks check for VIDIOC_SUBDEV_G/S_EDID 2012-10-07 10:19:34 -03:00
Kconfig [media] Kconfig: merge all customise options into just one 2012-08-21 08:05:06 -03:00
Makefile [media] move i2c files into drivers/media/i2c 2012-09-06 18:42:54 -03:00
media-device.c [media] media: fix MEDIA_IOC_DEVICE_INFO return code 2012-08-12 07:57:57 -03:00
media-devnode.c [media] media-devnode: Replace printk with pr_* 2012-09-27 14:19:23 -03:00
media-entity.c [media] media: Add link_validate() op to check links to the sink pad 2012-05-14 08:44:11 -03:00