Mail Archives: djgpp-workers/2000/09/12/03:06:11
> Why is this needed? Unless random chance has that pointer pointing to
> a valid "new exe" signature, we shouldn't need to worry about zeroing
> it out.
It's not needed in the way that it doeesn't work, but Eli said:
> I've just learned the hard way that we seem to be violating the EXE
> file format, at least as it is documented in Ralf Brown's Interrupt
> List. RBIL says (under D-214B, table 1594) that the dword at offset
> 3Ch in the executable file should be zero for plain MZ executables,
> and non-zero for PE and other ``new executable'' formats. The
> non-zero value is the offset of the new executable header within the
> executable disk file.
So we have a bug. And we should fix that bug.
Right,
MartinS
- Raw text -