1
0
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:
László Molnár 2016-12-30 21:31:50 +01:00
parent 0ccbc5f139
commit c7cb036536

View File

@ -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++;