Skip to content

Commit

Permalink
Merge pull request #255 from michaelolbrich/sparse
Browse files Browse the repository at this point in the history
image-android-sparse: initialize chunk_header
  • Loading branch information
michaelolbrich authored Jun 27, 2024
2 parents 187b69c + 650d9bb commit 4130cc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion image-android-sparse.c
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ static int android_sparse_generate(struct image *image)
struct image *inimage;
const char *infile;
struct sparse_header header;
struct sparse_chunk_header chunk_header;
struct sparse_chunk_header chunk_header = {};
struct extent *extents = NULL;
size_t extent_count, extent, block_count, block;
int in_fd = -1, out_fd = -1, ret;
Expand Down

0 comments on commit 4130cc9

Please sign in to comment.