Hi,
I received an encrypted zip created by 7-Zip 9.04 beta Copyright (c) 1999-2009 Igor Pavlov 2009-05-30 p7zip Version 9.04 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,16 CPUs) and during the unzip with SharpZipLib 860 the following exception occured "Version required to extract this entry not supported (788)".
Debugging showed the exception was thrown in ZipFile.TestLocalHeader. The code reads from the header the extractVersion value, and the value is not in range according to the validation.
http://community.sharpdevelop.net/forums/t/11466.aspx describes the same error message and explains this is caused by the high byte order.
Based on the fix in the ZipEntry.Version, I applied the same fix to the ZipFile.TestLocalHeader method and the unzip works as expected.
Is my assumption correct that this is the same issue as described in the other thread?
And is it correct to remove the high byte order of extractVersion to fix this?