-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Labels
enhancementFeature request or other improvements of existing functionalityFeature request or other improvements of existing functionality
Milestone
Description
Some zip compress app making wrong header, for example zip4j. So SharpZipLib throwing "Size mismatch: " error at Zip\ZipInputStream.cs line 620.
// A csize of -1 is from an unpatched local header
if ((flags & 8) == 0 &&
(inf.TotalIn != csize && csize != 0xFFFFFFFF && csize != -1 || inf.TotalOut != size)) {
throw new ZipException("Size mismatch: " + csize + ";" + size + " <-> " + inf.TotalIn + ";" + inf.TotalOut);
}
Can we make bypass option for some errors in future versions?
Metadata
Metadata
Assignees
Labels
enhancementFeature request or other improvements of existing functionalityFeature request or other improvements of existing functionality