]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ext3: fix a bug accessing freed memory in ext3_abort
authorHidehiro Kawai <hidehiro.kawai.ez@hitachi.com>
Tue, 28 Oct 2008 02:51:46 +0000 (22:51 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 28 Oct 2008 02:51:46 +0000 (22:51 -0400)
commit44d6f78756560e95903de239e10f8a40a6eae444
tree2f4e1ec9219eb9f8e3d564856e5c40174bd869e7
parent0173a3265b228da319ceb9c1ec6a5682fd1b2d92
ext3: fix a bug accessing freed memory in ext3_abort

Vegard Nossum reported a bug which accesses freed memory (found via
kmemcheck).  When journal has been aborted, ext3_put_super() calls
ext3_abort() after freeing the journal_t object, and then ext3_abort()
accesses it.  This patch fix it.

Signed-off-by: Hidehiro Kawai <hidehiro.kawai.ez@hitachi.com>
Acked-by: Jan Kara <jack@suse.cz>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext3/super.c