Added a mostly-harmless FIXME.

This commit is contained in:
Ryan C. Gordon 2016-09-12 15:39:35 -04:00
parent 66b7767cec
commit 2777b5efe2
1 changed files with 4 additions and 0 deletions

View File

@ -863,6 +863,10 @@ static int zip_parse_local(PHYSFS_Io *io, ZIPentry *entry)
* possible that's a Zip64 thing.
*/
/* !!! FIXME: apparently these are zero if general purpose bit 3 is set,
!!! FIXME: which is probably true for Jar files, fwiw, but we don't
!!! FIXME: care about these values anyhow. */
BAIL_IF_MACRO(!io->seek(io, entry->offset), ERRPASS, 0);
BAIL_IF_MACRO(!readui32(io, &ui32), ERRPASS, 0);
BAIL_IF_MACRO(ui32 != ZIP_LOCAL_FILE_SIG, PHYSFS_ERR_CORRUPT, 0);