From 2777b5efe26595e7cf24dd139988c99b1f9a5db4 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Mon, 12 Sep 2016 15:39:35 -0400 Subject: [PATCH] Added a mostly-harmless FIXME. --- src/archiver_zip.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/archiver_zip.c b/src/archiver_zip.c index 4d24e4ae..c78b1127 100644 --- a/src/archiver_zip.c +++ b/src/archiver_zip.c @@ -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);