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:
c921928
)
ASoC: spear: correct the check for NULL dma_buffer pointer
author
Prasad Joshi
<prasadjoshi.linux@gmail.com>
Fri, 31 Aug 2012 03:25:21 +0000
(08:55 +0530)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Fri, 31 Aug 2012 21:24:52 +0000
(14:24 -0700)
The if condition
if (!buf && !buf->area)
checks if the buf pointer is NULL and then dereferences it again to
check if the buffer area is NULL, resulting in possible NULL
dereference.
Signed-off-by: Prasad Joshi <prasadjoshi.linux@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
No differences found