omemmove exactly as much
Fix 14992260c60b8d6677a677a9cdfae98b11353df7; revealed by testsuite modified: pefile.cpp
This commit is contained in:
committed by
Markus F.X.J. Oberhumer
parent
924b229afb
commit
7c105d7af5
+1
-1
@@ -2847,7 +2847,7 @@ void PeFile::rebuildImports(upx_byte *& extrainfo,
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
// Beware overlap!
|
// Beware overlap!
|
||||||
omemmove(Obuf + (*newiat + 2), p, ilen + 1);
|
omemmove(Obuf + (*newiat + 2), p, ilen);
|
||||||
}
|
}
|
||||||
p += ilen;
|
p += ilen;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user