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:
8f6f4c1
)
staging: slicoss: fix a null deref when pci_alloc_consistent fail
author
Devendra Naga
<devendra.aaru@gmail.com>
Wed, 5 Sep 2012 10:03:47 +0000
(15:33 +0530)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 5 Sep 2012 18:59:51 +0000
(11:59 -0700)
we are dereferencing the pshmem , and the pci_alloc_consistent can fail
returning null,
do a memcpy if we have a valid pshmem
Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
No differences found