[Ocfs2-devel] [PATCH] ocfs2: Fix NULL pointer dereferrence in __ocfs2_change_file_space

Joel Becker jlbec at evilplan.org
Wed Jun 20 23:12:29 PDT 2012


On Wed, Jun 20, 2012 at 04:18:23PM -0700, Mark Fasheh wrote:
> This should've been upstream a while ago  :/

Indeed.  I've been fighting my kernel.org setup and life since December.
Sorry I dropped the ball on this one.

Joel

> 
> On Wed, Jun 20, 2012 at 11:34:44PM +0100, Luis Henriques wrote:
> > 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.  See http://bugs.launchpad.net/bugs/1006012.
> > 
> > Signed-off-by: Luis Henriques <luis.henriques at canonical.com>
> 
> Signed-off-by: Mark Fasheh <mfasheh at suse.de>
> 	--Mark
> 
> --
> Mark Fasheh

-- 

 There are morethings in heaven and earth, Horatio,
 Than are dreamt of in your philosophy.

			http://www.jlbec.org/
			jlbec at evilplan.org



More information about the Ocfs2-devel mailing list