diff options
| author | Pawel Osciak <[email protected]> | 2010-07-20 16:49:16 +0000 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2010-09-30 10:22:22 +0000 |
| commit | b2b476f53a9d24b00a313adf7f6ca92515a2af54 (patch) | |
| tree | 4510939190c507264aa46623daec039f703f9fbd /lib/dynamic_debug.c | |
| parent | V4L/DVB: ir-core: Fix null dereferences in the protocols sysfs interface (diff) | |
| download | kernel-b2b476f53a9d24b00a313adf7f6ca92515a2af54.tar.gz kernel-b2b476f53a9d24b00a313adf7f6ca92515a2af54.zip | |
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 <[email protected]>
Signed-off-by: Kyungmin Park <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions
