[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20130114215930.GA30482@quack.suse.cz>
Date: Mon, 14 Jan 2013 22:59:30 +0100
From: Jan Kara <jack@...e.cz>
To: James Hogan <james@...anarts.com>
Cc: Namjae Jeon <linkinjeon@...il.com>, Jan Kara <jack@...e.cz>,
linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [BUG] NULL pointer dereference in udf_sb_free_partitions
On Mon 14-01-13 21:06:37, James Hogan wrote:
> Hi,
>
> On Mon, Jan 14, 2013 at 02:19:39PM +0900, Namjae Jeon wrote:
> > There is missing exception handling in memory leak patch. (udf: Fix
> > memory leak when mounting)
> > So, Would you try to reproduce this problem with the below patch ?
> >
> > Thanks.
> >
> > ---------------------------------------------------------------------------
> > Subject: [PATCH] UDF: Fix a null pointer dereference in udf_sb_free_partitions
> >
> > This patch fixes a regression caused by commit bff943af6fe
> > "udf: Fix memory leak when mounting" due to which it was triggering
> > a kernel null point dereference in case of mount failed OR when allocating
> > memory to sbi->s_partmaps failed in function udf_sb_alloc_partition_maps.
> >
> > Reported-by: James Hogan <james@...anarts.com>
> > Signed-off-by: Namjae Jeon <namjae.jeon@...sung.com>
> > Signed-off-by: Ashish Sangwan <a.sangwan@...sung.com>
>
> v3.8-rc3 + your patch no longer crashes.
>
> Tested-by: James Hogan <james@...anarts.com>
Thanks for confirmation. I've added the fix to my tree and will push it
to Linus soon.
Honza
--
Jan Kara <jack@...e.cz>
SUSE Labs, CR
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists