DotNetZip.Semverd
DotNetZip.Semverd copied to clipboard
Bugfix in OffsetStream.Seek for reading embedded zip archives
When reading a zip archive embedded in another file, we get a BadReadException: "Bad signature at position [...]". This is due to a bug in OffsetStream.Seek(). _originalPosition should only be added to the offset when origin == SeekOrigin.Begin.