Giter Site home page Giter Site logo

Bad CRC on some binary files about adm-zip HOT 2 CLOSED

cthackers avatar cthackers commented on August 23, 2024
Bad CRC on some binary files

from adm-zip.

Comments (2)

townxelliot avatar townxelliot commented on August 23, 2024

I've seen the same error in my environment, where a png file is deflated and ends up with a bad CRC, corrupting the zip file. This is on 64bit Fedora Linux with node v0.11.3.

The error message I get when unzipping the file containing this image is:

  inflating: components/canvas/background.png  
  error:  invalid compressed data to inflate
 bad CRC 00000000  (should be 63759466)

adm-zip version is 0.4.3 (installed via npm).

I also tried upgrading to 0b0b8fe and saw the same error.

Note that the resulting zip file is readable by adm-zip and other tools (you can see the file list), but the packed files can't be extracted properly (my archive tool did unpack the file but it was black).

Below is the image which causes this issue:

background

from adm-zip.

acl0056 avatar acl0056 commented on August 23, 2024

I have the same issue with a PNG file. It is always this file:

f94bf470-1966-11e3-9d81-d8cbe859dbf5

from adm-zip.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.