diff options
| author | Akinobu Mita <[email protected]> | 2007-05-06 14:50:18 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-05-07 12:12:57 -0700 |
| commit | 5bc98594d59672303c4c9c07262ecc373dc374da (patch) | |
| tree | bc9855b1448222819d75fb23e26fdcd09382e460 /include/linux/timerqueue.h | |
| parent | cfce66047f1893cb7d3abb0d53e65cbbd8d605f0 (diff) | |
hugetlbfs: add NULL check in hugetlb_zero_setup()
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 <[email protected]>
Acked-by: William Irwin <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions