diff options
-rw-r--r-- | libarchive/test/test_sparse_basic.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libarchive/test/test_sparse_basic.c b/libarchive/test/test_sparse_basic.c index 67c51dd3..1963aa49 100644 --- a/libarchive/test/test_sparse_basic.c +++ b/libarchive/test/test_sparse_basic.c @@ -173,6 +173,7 @@ is_sparse_supported(const char *path) const char *testfile = "can_sparse"; (void)path; /* UNUSED */ + memset(buff, 0, sizeof(buff)); create_sparse_file(testfile, sparse_file); fd = open(testfile, O_RDWR); if (fd < 0) |