Skip to content

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

Closed

Description

@hannesj

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

Activity

  1. bcerquiare commented on Jan 8, 2025

    @bcerquiare

    Same problem here

  2. jsadoski-rockhall commented on Jan 17, 2025

    @jsadoski-rockhall

    I'm experiencing this issue when trying to deploy an app with SST v2. The error throws in a custom resource handler that's calling updateFile().

  3. alanwilter commented on Feb 17, 2025

    @alanwilter

    Are you guys still experiencing this issues with v.0.5.16?

  4. zfyzjzzl commented on Apr 24, 2025

    @zfyzjzzl

    Are you guys still experiencing this issues with v.0.5.16?

    Yes I'm still facing and do not know why

  5. cthackers commented on Jul 10, 2026

    @cthackers
    Owner

    Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions