diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2011-07-04 17:15:14 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-07-27 22:56:09 +0200 |
commit | cb74cf5349a6a9225bbab278a808d5a0739c3b2c (patch) | |
tree | f666bd328e9f8cdfd47ebb71e2427d7ecd3b8137 /drivers/media/video/Makefile | |
parent | [media] V4L: soc-camera: remove soc-camera bus and devices on it (diff) | |
download | linux-cb74cf5349a6a9225bbab278a808d5a0739c3b2c.tar.xz linux-cb74cf5349a6a9225bbab278a808d5a0739c3b2c.zip |
[media] V4L: sh_mobile_ceu_camera: fix Oops when USERPTR mapping fails
If vb2_dma_contig_get_userptr() fails on a videobuffer, driver's
.buf_init() method will not be called and the list will not be
initialised. Trying to remove an uninitialised element from a list leads
to a NULL-dereference.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Tested-by: Bastian Hecht <hechtb@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/Makefile')
0 files changed, 0 insertions, 0 deletions