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:
cfce660
)
hugetlbfs: add NULL check in hugetlb_zero_setup()
author
Akinobu Mita
<akinobu.mita@gmail.com>
Sun, 6 May 2007 21:50:18 +0000
(14:50 -0700)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Mon, 7 May 2007 19:12:57 +0000
(12:12 -0700)
If hugetlbfs module_init() fails, hugetlbfs_vfsmount is not initialized and
shmget() with SHM_HUGETLB flag will cause NULL pointer dereference.
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Acked-by: William Irwin <wli@holomorphy.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
No differences found