commit | ed50488ec0f0edc9156651da004d37f7b111920b | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Sun Aug 19 16:46:04 2018 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Tue Aug 21 01:22:18 2018 -0400 |
tree | deed4e6592eceeff579081609d245be9b7d666d4 | |
parent | 40e66e2e8be046f909dfff73b3909f15c9d0f400 [diff] |
tune2fs: fix dereference of freed memory after journal replay This can be found by running the test t_replay_and_set under valgrind. Reported-by: Chris Clayton <chris2553@googlemail.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
diff --git a/misc/tune2fs.c b/misc/tune2fs.c index 723f7ae..b8cddfa 100644 --- a/misc/tune2fs.c +++ b/misc/tune2fs.c
@@ -3051,6 +3051,7 @@ ext2fs_close_free(&fs); exit(1); } + sb = fs->super; } #endif