Steps to reproduce
1.unity2018 empty project
2.build apk by Internal build system
3.unzip the apk
code:
ZipInputStream s = new ZipInputStream(File.OpenRead(file));
ZipEntry theEntry;
while ((theEntry = s.GetNextEntry()) != null)
test apk file
https://pan.baidu.com/s/1UJLdYwWMvpuoVjqCZaB-Hg
net disk key: 5ygk
Expected behavior
unzip the apk success
Actual behavior
we get Incorrect and Garbled string and then Run to GetNextEntry while has some exception as "Wrong Local header signature: 0x50000000"
Version of SharpZipLib
v1.3.2
Obtained from (only keep the relevant lines)
source code from github