DotNetZip.Semverd icon indicating copy to clipboard operation
DotNetZip.Semverd copied to clipboard

Bugfix in OffsetStream.Seek for reading embedded zip archives

Open Anlo2846 opened this issue 2 years ago • 0 comments

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.

Anlo2846 avatar Nov 04 '23 21:11 Anlo2846