Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40e66e2
)
tune2fs: fix dereference of freed memory after journal replay
author
Theodore Ts'o
<tytso@mit.edu>
Sun, 19 Aug 2018 20:46:04 +0000
(16:46 -0400)
committer
Theodore Ts'o
<tytso@mit.edu>
Tue, 21 Aug 2018 05:22:18 +0000
(
01:22
-0400)
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>
misc/tune2fs.c
patch
|
blob
|
history
diff --git
a/misc/tune2fs.c
b/misc/tune2fs.c
index
723f7ae
..
b8cddfa
100644
(file)
--- a/
misc/tune2fs.c
+++ b/
misc/tune2fs.c
@@
-3051,6
+3051,7
@@
_("Warning: The journal is dirty. You may wish to replay the journal like:\n\n"
ext2fs_close_free(&fs);
exit(1);
}
+ sb = fs->super;
}
#endif