]> Git Repo - linux.git/commit - fs/ext4/super.c
ext4: fix a bug accessing freed memory in ext4_abort
authorHidehiro Kawai <[email protected]>
Tue, 28 Oct 2008 02:53:05 +0000 (22:53 -0400)
committerTheodore Ts'o <[email protected]>
Tue, 28 Oct 2008 02:53:05 +0000 (22:53 -0400)
commitef2cabf7c6d838eb0ee2b4fb8ef84f7c06ce16d9
tree64c3c14ae4a3717c6c193773d87e31f5facc569e
parent44d6f78756560e95903de239e10f8a40a6eae444
ext4: fix a bug accessing freed memory in ext4_abort

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

Signed-off-by: Hidehiro Kawai <[email protected]>
Acked-by: Jan Kara <[email protected]>
Signed-off-by: "Theodore Ts'o" <[email protected]>
fs/ext4/super.c
This page took 0.05334 seconds and 4 git commands to generate.