omemmove exactly as much
Fix 14992260c60b8d6677a677a9cdfae98b11353df7; revealed by testsuite modified: pefile.cpp
This commit is contained in:
parent
924b229afb
commit
7c105d7af5
@ -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;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user