[fpc-devel] [patch] Trivial fix to exeinfo unit
sergei_gorelkin at mail.ru
Thu Feb 26 15:51:02 CET 2009
(As a side effect of digging into issue #13237):
When OpenExeFile is called with an empty filename argument, it
apparently opens stdin and crashes immediately thereafter trying to seek
in non-seekable stream.
The filename is empty whenever GetLineInfo is called with the address
that does not belong to valid module.
The attached patch fixes the crash.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 361 bytes
Desc: not available
More information about the fpc-devel