Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pavlov <ipavlov@users.sourceforge.net>2007-07-25 04:00:00 +0400
committerKornel LesiƄski <kornel@geekhood.net>2016-05-28 02:15:53 +0300
commitd14d4dcdefbef6695a618c3cdac05ba2ede5572e (patch)
tree65019d5f1b2f6f1a75436eb73494a59d79ec9fc7 /CPP/7zip/Archive
parent980e181dcc9d64312a4dddfa58f80770506f27f5 (diff)
4.51 beta
Diffstat (limited to 'CPP/7zip/Archive')
-rwxr-xr-xCPP/7zip/Archive/7z/7zIn.cpp2
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)