Skip to content

Commit 8c2a1fe

Browse files
Fix issue with double read from input stream (#2000)
1 parent 06b09d5 commit 8c2a1fe

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

src/EPPlus/ExcelPackage.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1276,11 +1276,6 @@ private void Load(Stream input, Stream output, string Password)
12761276
ms.Dispose();
12771277
ms = decrStream;
12781278
}
1279-
else
1280-
{
1281-
ms = RecyclableMemory.GetStream();
1282-
StreamUtil.CopyStream(input, ref ms);
1283-
}
12841279

12851280
try
12861281
{

0 commit comments

Comments
 (0)