DUPLICIT overlay: one bug fixed, one left (Announce)
> Good idea, I'll add a summary at the end and will show the filesizes.
> But I refuse call the bug that you can't pack and unpack duplicit.exe
> It is not bug, it is a feature. I could, of course place the default
> messages into separate file like duplicit.dat but I want to be it usable
> only with the single exe file.
Missed the point. The crash after unpacking is of course a bug. Nevertheless I fully agree that a separate DUPLICIT.DAT file would be bad. The bug is not about placing the text into overlay, but the fact that it crashes if this text is not found. So the proposed solution would be:
- Keep the text in the overlay
- When searching for the text, don't rely on a plain text signature - this would cause a "false positive" finding the text "too early" if not UPX'ed, change at least one byte, for example use "MY%%OVERLAY" as signature, but place "MY()OVERLAY" into the Pascal source and hack "()" into "%%" before comparison
- If text not found, abort with a message "EXE is corrupt"
---
This is a LOGITECH mouse driver, but some software expect here
the following string:*** This is Copyright 1983 Microsoft ***
Complete thread:
- Duplicit - Laaca, 11.10.2008, 23:25 (Announce)
- BOOOOH - much more duplicates that I could imagine to have - DOS386, 16.10.2008, 00:59
- BOOOOH - much more duplicates that I could imagine to have - marcov, 16.10.2008, 10:48
- BOOOOH - much more duplicates that I could imagine to have - Laaca, 16.10.2008, 23:15
- DUPLICIT overlay: one bug fixed, one left - DOS386, 18.10.2008, 02:47
- DUPLICIT overlay: one bug fixed, one left - Laaca, 18.10.2008, 12:07
- DUPLICIT overlay: one bug fixed, one left - Rugxulo, 18.10.2008, 21:43
- DUPLICIT overlay: one bug fixed, one left - DOS386, 19.10.2008, 01:18
- DUPLICIT overlay: one bug fixed, one left - marcov, 21.10.2008, 11:17
- DUPLICIT overlay: one bug fixed, one left - DOS386, 22.10.2008, 15:27
- DUPLICIT overlay: one bug fixed, one left - marcov, 21.10.2008, 11:17
- DUPLICIT overlay: one bug fixed, one left - Laaca, 18.10.2008, 12:07
- BOOOOH - much more duplicates that I could imagine to have - rr, 20.10.2008, 14:45
- DUPLICIT overlay: one bug fixed, one left - DOS386, 18.10.2008, 02:47
- BOOOOH - much more duplicates that I could imagine to have - Laaca, 16.10.2008, 23:15
- BOOOOH - much more duplicates that I could imagine to have - marcov, 16.10.2008, 10:48
- BOOOOH - much more duplicates that I could imagine to have - DOS386, 16.10.2008, 00:59