Re: [PATCH] ocfs2: Fix NULL pointer dereferrence in __ocfs2_change_file_space

From: Bret Towe
Date: Thu Jun 21 2012 - 00:39:33 EST


On Wed, Jun 20, 2012 at 3:34 PM, Luis Henriques
<luis.henriques@xxxxxxxxxxxxx> 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>

ran the patch for a while no crashes I see if the other patch isn't used
i did notice the following in dmesg not sure exactly what i was up to
at that point tho
never seen the message before

[ 4704.352332] (pool,1731,0):ocfs2_unlink:951 ERROR: status = -39
--
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/