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
Scan error: 'Index -1 out of bounds for length 0 #153
Comments
@AlexMilotin Would you run with |
Scan error: 'Index -1 out of bounds for length 0
|
Also for one of the malformed perhaps would be helpful
|
@AlexMilotin Both exception traces are caused by encoding issues. The default zip entry encoding is utf8, but the file appears to be encoded in a different character set. Maybe adding another encoding option can be useful, however, if each zip file uses different encoding, it is hard to resolve.. |
@xeraph Assuming the most used ones are utf8 , latin1 and CP437 i would hope that adding latin1 and CP437 is enough ? |
@AlexMilotin Would you upload some small CP437 zip file which causes error? I want to reproduce it. |
Hopefully this is the one you need. Is what i got from one of our devs |
@AlexMilotin Would you test v2.3.3 release? If your system default encoding is |
Oops.. 'Index -1 out of bounds for length 0' was different issue. I will fix it soon. Thank you for reporting! @AlexMilotin |
|
@AlexMilotin v2.3.4 reduces |
@AlexMilotin v2.6.0 release can resolves almost all ZIP errors. |
Hi,
Seems like zip file scanning is running into a error
Scan error: 'Index -1 out of bounds for length 0' on file: C:\Users\uie13286.VT1\Downloads\OneDrive_1_11-15-2021.zip
and
Scan error: 'malformed input off : 98, length : 1' on file: C:\Users\uix08287\Desktop\IE-DFSS-15-0003 (2).zip
Scan error: 'malformed input off : 82, length : 1' on file: C:\Users\uix08287\Desktop\IE-DFSS-15-0003.zip
The text was updated successfully, but these errors were encountered: