Closed DavideMacchia closed 1 year ago
This is a known issue with streaming unzip since it just looks for local file headers (the byte sequence can be replicated in a file). I'll try to make this work better by making it possible to filter out obvious false positives.
This is a known issue with streaming unzip since it just looks for local file headers (the byte sequence can be replicated in a file). I'll try to make this work better by making it possible to filter out obvious false positives.
Ok good to know. Thanks for the answer.
Can I ask you if there is a particular bytes sequence that leads to this error? if yes, can you post it here please?
Sorry for the delay, the byte sequence should be 0x04034B50
(little endian).
Thanks again.
How to reproduce I'm using this code to stream and unzip the file, it works very well but it doesn't with a particular file that doesn't seems corruputed (sent it at this email address: arjunbarrett@gmail.com).
The problem Here below the output returned by the console.log in the code:
Is there a way to spot and deal with errors like this?