diff --git a/import-chrome/src/import-chrome.cpp b/import-chrome/src/import-chrome.cpp index 73156fd8..74656cba 100644 --- a/import-chrome/src/import-chrome.cpp +++ b/import-chrome/src/import-chrome.cpp @@ -107,7 +107,7 @@ int main( int argc, char** argv ) { const auto bsz = buf.size(); buf.resize( bsz + zout.pos ); - memcpy( buf.data() + bsz, tmp, zout.size ); + memcpy( buf.data() + bsz, tmp, zout.pos ); zout.pos = 0; } }