git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7dfff95
)
[media] V4L: sh_mobile_ceu_camera: fix Oops when USERPTR mapping fails
author
Guennadi Liakhovetski
<g.liakhovetski@gmx.de>
Mon, 4 Jul 2011 15:15:14 +0000
(12:15 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Wed, 27 Jul 2011 20:56:09 +0000
(17:56 -0300)
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>
No differences found