Skip to content
Permalink
Browse files
omemmove exactly as much
Fix 1499226; revealed by testsuite
	modified:   pefile.cpp
  • Loading branch information
jreiser committed Nov 5, 2020
1 parent a18ff44 commit 1faaba8f4ce56eb5df8ce24bb4f04d665b87b4fa
Showing 1 changed file with 1 addition and 1 deletion.
@@ -2847,7 +2847,7 @@ void PeFile::rebuildImports(upx_byte *& extrainfo,
else
{
// Beware overlap!
omemmove(Obuf + (*newiat + 2), p, ilen + 1);
omemmove(Obuf + (*newiat + 2), p, ilen);
}
p += ilen;
}

0 comments on commit 1faaba8

Please sign in to comment.