Steps to reproduce
- Create a ZipFile using on iOS with password for example
Moduli.zip (Password DEDALUS)
- Extract the previous file
Expected behavior
Extract the contained file
Actual behavior
Throw ZipException "Size invalid for descriptor"
Version of SharpZipLib
1.3.3 but also verified against master
Obtained from (only keep the relevant lines)
- Compiled from source
- Package installed using NuGet 1.3.3
I think that the condition size != -1 in the method TestLocalHeader is wrong. but must be size > 0. In my case the value of size is 0 and also compressedSize value is 0.