2
0

150-fix-unitialized-memory.patch 344 B

1234567891011
  1. --- a/squashfs-tools/mksquashfs.c
  2. +++ b/squashfs-tools/mksquashfs.c
  3. @@ -1822,7 +1822,7 @@ int main(int argc, char *argv[])
  4. {
  5. struct stat buf, source_buf;
  6. int i;
  7. - squashfs_super_block sBlk;
  8. + squashfs_super_block sBlk = {};
  9. char *b, *root_name = NULL;
  10. int be, nopad = FALSE, keep_as_directory = FALSE, orig_be;
  11. squashfs_inode inode;