diff --git a/SharpCompress/Utility.cs b/SharpCompress/Utility.cs index 0417c654..03d5cc84 100644 --- a/SharpCompress/Utility.cs +++ b/SharpCompress/Utility.cs @@ -146,7 +146,7 @@ namespace SharpCompress readCount = (int)advanceAmount; } read = source.Read(buffer, 0, readCount); - if (read == 0) + if (read <= 0) { break; }