block the use of the input stream length property by unmanaged 7z code. I think it was only using it for progress reporting.

This commit is contained in:
zeromus 2014-10-12 02:49:02 +00:00
parent 0303871ac5
commit 4eeb48db13
1 changed files with 5 additions and 0 deletions

View File

@ -496,6 +496,11 @@ namespace SevenZip
case ItemPropId.Size:
#region Size
//zero 11-oct-2014 - this doesnt matter, we think it's only used for updating the progress indicator
value.VarType = VarEnum.VT_UI8;
//value.UInt64Value = unchecked((ulong)-1);
break;
value.VarType = VarEnum.VT_UI8;
UInt64 size;
if (_updateData.Mode != InternalCompressionMode.Modify)