Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed non-Zip64 .zip files.
  • Loading branch information
icculus committed Jun 7, 2012
1 parent 5c18db7 commit 9159717
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/archiver_zip.c
Expand Up @@ -1347,6 +1347,8 @@ static int zip_parse_end_of_central_dir(PHYSFS_Io *io, ZIPinfo *info,
BAIL_IF_MACRO(!readui16(io, &entryCount16), ERRPASS, 0);
BAIL_IF_MACRO(ui16 != entryCount16, PHYSFS_ERR_CORRUPT, 0);

info->entryCount = entryCount16;

/* size of the central directory */
BAIL_IF_MACRO(!readui32(io, &ui32), ERRPASS, 0);

Expand Down

0 comments on commit 9159717

Please sign in to comment.