This was introduced recently when fixing a problem noted by Coverty.
Oops!
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
+2007-04-04 Theodore Tso <tytso@mit.edu>
+
+ * pass1.c (check_ext_attr): Make sure the region variable is
+ initialized to zero to avoid checking and then freeing an
+ uninitialized pointer if there is a corrupted EA block.
+
2007-03-31 Theodore Tso <tytso@mit.edu>
* pass1.c (e2fsck_pass1, check_is_really_dir): Check for an edge
struct ext2_ext_attr_header *header;
struct ext2_ext_attr_entry *entry;
int count;
- region_t region;
+ region_t region = 0;
blk = inode->i_file_acl;
if (blk == 0)