diff options
Diffstat (limited to 'CPP/7zip/Archive/7z/7zIn.cpp')
-rwxr-xr-x | CPP/7zip/Archive/7z/7zIn.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CPP/7zip/Archive/7z/7zIn.cpp b/CPP/7zip/Archive/7z/7zIn.cpp index 4f867708..e04313be 100755 --- a/CPP/7zip/Archive/7z/7zIn.cpp +++ b/CPP/7zip/Archive/7z/7zIn.cpp @@ -188,7 +188,7 @@ UInt64 CInByte2::ReadUInt64() void CInByte2::ReadString(UString &s) { const Byte *buf = _buffer + _pos; - size_t rem = (_size - _pos) / 2; + size_t rem = (_size - _pos) / 2 * 2; { size_t i; for (i = 0; i < rem; i += 2) |