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:
f60ec4c
)
drm/mgag200: fix null pointer dereference
author
Devendra Naga
<devendra.aaru@gmail.com>
Sat, 7 Jul 2012 09:22:15 +0000
(09:22 +0000)
committer
Dave Airlie
<airlied@redhat.com>
Fri, 20 Jul 2012 02:05:25 +0000
(22:05 -0400)
we are referencing the pointer after doing alloc_apertures,
as alloc_apertures kzallocs, the kzalloc may fail and we get a NULL.
so we need to check for NULL before we dereference this pointer
Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
No differences found