Skip to content
Snippets Groups Projects
user avatar
Luis Henriques authored
As ocfs2_fallocate() will invoke __ocfs2_change_file_space() with a NULL
as the first parameter (file), it may trigger a NULL pointer dereferrence
due to a missing check.

Addresses http://bugs.launchpad.net/bugs/1006012



Signed-off-by: default avatarLuis Henriques <luis.henriques@canonical.com>
Reported-by: default avatarBret Towe <magnade@gmail.com>
Tested-by: default avatarBret Towe <magnade@gmail.com>
Cc: Sunil Mushran <sunil.mushran@oracle.com>
Acked-by: default avatarJoel Becker <jlbec@evilplan.org>
Acked-by: default avatarMark Fasheh <mfasheh@suse.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
a4e08d00
History
Name Last commit Last update