jbd2: fix use after free in jbd2_journal_start_reserved()
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 18 Feb 2014 01:33:01 +0000 (20:33 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 18 Feb 2014 01:33:01 +0000 (20:33 -0500)
commit92e3b40537707001d17bbad800d150ab04e53bf4
tree8005d10187a240409c0ce365f23f074a468a2a4d
parent19ea80603715d473600cd993b9987bc97d042e02
jbd2: fix use after free in jbd2_journal_start_reserved()

If start_this_handle() fails then it leads to a use after free of
"handle".

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Cc: stable@vger.kernel.org
fs/jbd2/transaction.c