Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrity check fail on a ZIP64 file #301

Open
hgourvest opened this issue Jan 31, 2024 · 0 comments
Open

Integrity check fail on a ZIP64 file #301

hgourvest opened this issue Jan 31, 2024 · 0 comments

Comments

@hgourvest
Copy link

I've come across an uncorrupted file, but the file integrity test has failed. I think it's an offset alignment problem. The file is in ZIP64 format.

Here's a link to download it:
https://getcomics.wetransfer.com/downloads/4f8cb9d4214b8d54119cb6584734efd520240119100400/40a224

The test fails here:

if (((mz_uint64)MZ_READ_LE32(p + MZ_ZIP_CDH_LOCAL_HEADER_OFS) + MZ_ZIP_LOCAL_DIR_HEADER_SIZE + comp_size) > pZip->m_archive_size)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant