mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-09-23 15:34:34 +00:00
Update RarVolume.cs
This commit is contained in:
@@ -63,7 +63,7 @@ namespace SharpCompress.Common.Rar
|
||||
if (fh.FileName == "CMT")
|
||||
{
|
||||
var part = CreateFilePart(lastMarkHeader!, fh);
|
||||
var buffer = new byte[fh.CompressedSize];
|
||||
var buffer = new byte[fh.CompressedSize - 1];
|
||||
part.GetCompressedStream().Read(buffer, 0, buffer.Length);
|
||||
Comment = System.Text.Encoding.UTF8.GetString(buffer);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user