bower / decompress-zip

Module that decompresses zip files
MIT License
102 stars 76 forks source link

[Error: Offset is out of bounds] #49

Open sarthology opened 9 years ago

sarthology commented 9 years ago

giving this error. What is possibly wrong ?

ghost commented 8 years ago

I've been digging into this and this happens when the zip file is corrupt. You can reproduce this by splitting a zip file in half and running extract on the last file of the split. It looks like a buffer offset of negative length is being read.