We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37c3a9e commit 4d8c4a9Copy full SHA for 4d8c4a9
src/ICSharpCode.SharpZipLib/Zip/ZipFile.cs
@@ -4229,7 +4229,7 @@ public override long Seek(long offset, SeekOrigin origin)
4229
throw new ArgumentException("Negative position is invalid");
4230
}
4231
4232
- if (newPos >= end_)
+ if (newPos > end_)
4233
{
4234
throw new IOException("Cannot seek past end");
4235
@@ -4266,7 +4266,7 @@ public override long Position
4266
4267
4268
4269
4270
4271
throw new InvalidOperationException("Cannot seek past end");
4272
0 commit comments