[<prev] [next>] [day] [month] [year] [list]
Date: Sat, 2 Feb 2008 23:16:58 +0200
From: Adrian Bunk <bunk@...nel.org>
To: Alex Tomas <alex@...sterfs.com>
Cc: linux-ext4@...r.kernel.org
Subject: ext4_mb_mark_diskspace_used() NULL dereference
The Coverity checker spotted the following NULL dereference:
<-- snip -->
...
static int ext4_mb_mark_diskspace_used(struct ext4_allocation_context *ac,
handle_t *handle)
{
...
if (!bitmap_bh)
goto out_err;
...
out_err:
sb->s_dirt = 1;
put_bh(bitmap_bh);
...
<-- snip -->
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
-
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists