1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-06-15 19:53:59 +02:00
openwrt/tools/squashfs3-lzma/patches/150-fix-unitialized-memory.patch

12 lines
344 B
Diff
Raw Normal View History

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