kernel-ark/drivers/media
Pawel Osciak b2b476f53a V4L/DVB: v4l: videobuf: prevent passing a NULL to dma_free_coherent()
When a driver that uses videobuf-dma-contig is used with the USERPTR
memory access method a kernel oops might happen: a NULL address may be
passed to dma_free_coherent(). This happens when an application calls
REQBUFS and then exits without queuing any buffers. This patch fixes
that bug.

Signed-off-by: Pawel Osciak <p.osciak@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2010-09-30 07:22:22 -03:00
..
common V4L/DVB: V4L: do not autoselect components on embedded systems 2010-08-08 23:43:02 -03:00
dvb V4L/DVB: dvb: fix smscore_getbuffer() logic 2010-09-27 22:21:59 -03:00
IR V4L/DVB: ir-core: Fix null dereferences in the protocols sysfs interface 2010-09-30 07:18:37 -03:00
radio V4L/DVB: si470x: -EINVAL overwritten in si470x_vidioc_s_tuner() 2010-08-02 16:42:44 -03:00
video V4L/DVB: v4l: videobuf: prevent passing a NULL to dma_free_coherent() 2010-09-30 07:22:22 -03:00
Kconfig
Makefile