Mattias Gaertner wrote:
On Mon, 5 Dec 2005 18:50:28 +0100 (CET)
Michael Van Canneyt <[EMAIL PROTECTED]> wrote:
On Mon, 5 Dec 2005, L505 wrote:
Also, a simple macro could end up in a neverending loop and bring down
the server. Lots of other ways to make a compiler go nuts.
The Free Pascal compiler checks for recursive expansion. If it goes over
16, it stops.
In case you prove otherwise, of course, we have a bug...
Here is my first fpc DOS attack:
type
TMyClassA = class;
TMyClassA = class(TMyClassA)
procedure DoSomething; override;
end;
Reported as 4569:
http://www.freepascal.org/bugs/showrec.php3?ID=4569
Maybe the test program can be added to the testsuite. ;-)
Vincent.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal