]> git.itanic.dy.fi Git - linux-stable/commit
ext4: Fix NULL dereference in ext4_ext_migrate()'s error handling
authorDan Carpenter <error27@gmail.com>
Tue, 24 Feb 2009 17:14:54 +0000 (12:14 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 17 Mar 2009 00:53:06 +0000 (17:53 -0700)
commite843ff53f46be9aab2db1d784b45bccfc3bd9257
treebad09c6b40887301502897c10192a0046b4d622d
parent5c99a7b06f7691d6756a12f60bae9892187c98dd
ext4: Fix NULL dereference in ext4_ext_migrate()'s error handling

(cherry picked from commit 090542641de833c6f756895fc2f139f046e298f9)

This was found through a code checker (http://repo.or.cz/w/smatch.git/).
It looks like you might be able to trigger the error by trying to migrate
a readonly file system.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/ext4/migrate.c