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:
1a058f5
)
dlm: NULL dereference on failure in kmem_cache_create()
author
Dan Carpenter
<dan.carpenter@oracle.com>
Tue, 15 May 2012 08:58:12 +0000
(11:58 +0300)
committer
David Teigland
<teigland@redhat.com>
Tue, 15 May 2012 15:39:28 +0000
(10:39 -0500)
We aren't allowed to pass NULL pointers to kmem_cache_destroy() so if
both allocations fail, it leads to a NULL dereference.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David Teigland <teigland@redhat.com>
No differences found