You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Got a file, ziped by SharpZipLib, that obviously has the signature of ZIP64 some where inside. When unzipping the LocateBlockWithSignature returns a position. This leads to End of Stream error in ZIP64 processing.
I can not send an example file (GDPR)
Steps to reproduce
ZIP archive that in its bitsream has by random the ZIP64 signature.
Try open archive new ZipFile(SelectedCaseFilePath)
LocateBlockWithSignature returns a position resulting in wrong execution path
To debug:
If, in debug, force "standard" decompression the file opens OK.
// Zip64 Central Directory skipped if not explicitly needed #357 - always check for the existance of the Zip64 central directory.
long locatedZip64EndOfCentralDir = LocateBlockWithSignature(ZipConstants.Zip64CentralDirLocatorSignature, locatedEndOfCentralDir, 0, 0x1000); //Returns a position
if (locatedZip64EndOfCentralDir < 0)