Re: [PATCH] ocfs2: Fix NULL pointer dereferrence in__ocfs2_change_file_space

From: Joel Becker
Date: Thu Jun 21 2012 - 02:12:33 EST


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@xxxxxxxxxxxxx>
>
> Signed-off-by: Mark Fasheh <mfasheh@xxxxxxx>
> --Mark
>
> --
> Mark Fasheh

--

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

http://www.jlbec.org/
jlbec@xxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/