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

Regression between 0.5.14 and 0.5.15 in decompressing some valid ZIP archives #548

Open
hannesj opened this issue Dec 19, 2024 · 0 comments

Comments

@hannesj
Copy link

hannesj commented Dec 19, 2024

Seems like this is caused by #508. I've attached a file which according to unzip is valid, while adm-zip starts throwing when decompressing it starting from version 0.5.14 with the following error message:

     Error: ADM-ZIP: No descriptor present
      at Object.DESCRIPTOR_NOT_EXIST (util/errors.js:56:16)
      at crc32OK (zipEntry.js:42:36)
      at decompress (zipEntry.js:121:26)
      at Object.getData (zipEntry.js:320:24)
      at Context.<anonymous> (test/issue_533.test.js:21:37)
      at process.processImmediate (node:internal/timers:483:21)

testfile.zip

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