Skip to content

Commit

Permalink
Bug fix for recursive call introduced in 0.28
Browse files Browse the repository at this point in the history
  • Loading branch information
adamhathcock committed Feb 18, 2021
1 parent fa61072 commit 020f862
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/SharpCompress/Polyfills/StreamExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public static int Read(this Stream stream, Span<byte> buffer)

try
{
int read = stream.Read(buffer);
int read = stream.Read(temp, 0, buffer.Length);

temp.AsSpan(0, read).CopyTo(buffer);

Expand Down
6 changes: 3 additions & 3 deletions src/SharpCompress/SharpCompress.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<PropertyGroup>
<AssemblyTitle>SharpCompress - Pure C# Decompression/Compression</AssemblyTitle>
<NeutralLanguage>en-US</NeutralLanguage>
<VersionPrefix>0.28.0</VersionPrefix>
<AssemblyVersion>0.28.0</AssemblyVersion>
<FileVersion>0.28.0</FileVersion>
<VersionPrefix>0.28.1</VersionPrefix>
<AssemblyVersion>0.28.1</AssemblyVersion>
<FileVersion>0.28.1</FileVersion>
<Authors>Adam Hathcock</Authors>
<TargetFrameworks>netstandard2.0;netstandard2.1;netcoreapp3.1;net5.0</TargetFrameworks>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
Expand Down

0 comments on commit 020f862

Please sign in to comment.