Skip to content

Commit

Permalink
ignore number_entry_cd
Browse files Browse the repository at this point in the history
  • Loading branch information
Coeur committed Nov 13, 2024
1 parent 00d695d commit 4dba068
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mz_zip.c
Original file line number Diff line number Diff line change
Expand Up @@ -981,7 +981,7 @@ static int32_t mz_zip_read_cd(void *handle) {
err = mz_stream_read_uint16(zip->stream, &value16);
number_entry_cd = value16;
if (number_entry_cd != zip->number_entry)
err = MZ_FORMAT_ERROR;
;// ignoring incorrect number of entries
/* Size of the central directory */
if (err == MZ_OK)
err = mz_stream_read_uint32(zip->stream, &value32);
Expand Down

0 comments on commit 4dba068

Please sign in to comment.