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:
f1a1761
)
Initialize buf to NULL to avoid crashing when called by fix_problem()
author
Theodore Ts'o
<tytso@mit.edu>
Mon, 24 Dec 2001 03:56:12 +0000
(22:56 -0500)
committer
Theodore Ts'o
<tytso@mit.edu>
Mon, 24 Dec 2001 03:56:12 +0000
(22:56 -0500)
e2fsck/util.c
patch
|
blob
|
history
diff --git
a/e2fsck/util.c
b/e2fsck/util.c
index
e3a840c
..
227e41d
100644
(file)
--- a/
e2fsck/util.c
+++ b/
e2fsck/util.c
@@
-323,7
+323,7
@@
blk_t get_backup_sb(e2fsck_t ctx, ext2_filsys fs, const char *name,
{
struct ext2_super_block *sb;
io_channel io = NULL;
- void *buf;
+ void *buf
= NULL
;
int blocksize;
blk_t superblock, ret_sb = 8193;