linux/drivers/media/v4l2-core
Mauro Carvalho Chehab 7f8414594e [media] media: videobuf2: fix the length check for mmap
Memory maps typically require that the buffer size to be page
aligned. Currently, two memops drivers do such alignment
internally, but videobuf-vmalloc doesn't.
Also, the buffer overflow check doesn't take it into account.
So, instead of doing it at each memops driver, enforce it at
VB2 core.

Reported-by: Prabhakar lad <prabhakar.csengg@gmail.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2013-04-25 09:54:00 -03:00
..
Kconfig
Makefile
tuner-core.c [media] tuner-core/simple: get_rf_strength can be tuner mode specific 2013-04-14 19:44:50 -03:00
v4l2-common.c [media] v4l2: drop V4L2_CHIP_MATCH_SUBDEV_NAME 2013-04-14 19:46:02 -03:00
v4l2-compat-ioctl32.c
v4l2-ctrls.c
v4l2-dev.c [media] v4l2: rename VIDIOC_DBG_G_CHIP_NAME to _CHIP_INFO 2013-04-14 19:47:33 -03:00
v4l2-device.c
v4l2-event.c
v4l2-fh.c
v4l2-int-device.c
v4l2-ioctl.c [media] v4l2: rename VIDIOC_DBG_G_CHIP_NAME to _CHIP_INFO 2013-04-14 19:47:33 -03:00
v4l2-mem2mem.c
v4l2-of.c
v4l2-subdev.c
videobuf2-core.c [media] media: videobuf2: fix the length check for mmap 2013-04-25 09:54:00 -03:00
videobuf2-dma-contig.c [media] media: videobuf2: fix the length check for mmap 2013-04-25 09:54:00 -03:00
videobuf2-dma-sg.c [media] media: videobuf2: fix the length check for mmap 2013-04-25 09:54:00 -03:00
videobuf2-memops.c
videobuf2-vmalloc.c
videobuf-core.c
videobuf-dma-contig.c [media] videobuf-dma-contig: remove support for cached mem 2013-04-25 09:50:19 -03:00
videobuf-dma-sg.c
videobuf-dvb.c
videobuf-vmalloc.c