mirror of
https://github.com/upx/upx
synced 2025-09-28 19:06:07 +08:00
fixed data corruption in import handling (issue #32,#34)
This commit is contained in:
parent
0ccbc5f139
commit
c7cb036536
|
@ -997,7 +997,7 @@ unsigned PeFile::processImports0(ord_mask_t ord_mask) // pass 1
|
|||
unsigned len = strlen(ibuf + *tarr + 2) + 1;
|
||||
memcpy(ppi,ibuf + *tarr + 2,len);
|
||||
ppi += len;
|
||||
names.add(*tarr,len + 2 + 1);
|
||||
names.add(*tarr,len + 2);
|
||||
}
|
||||
ppi++;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user