Hi Oleg,

You can prevent stack overflow by explicitly maintaining the recursion count. 
See 
http://lists.ironpython.com/pipermail/users-ironpython.com/2007-October/005694.html
 for a related thread about IronPython. However, such a fix in IronRuby would 
be in IronRuby.dll, and so we could not accept your patch. You could try 
patching it for your own version of IronRuby if wanted.

Thanks,
Shri
Want to work on IronPython, IronRuby, 
F#?<http://blogs.msdn.com/ironpython/archive/2008/02/25/ironpython-ironruby-and-f-openings-in-dev-test-and-pm.aspx>
 Visit http://blogs.msdn.com/ironpython

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Curt Hagenlocher
Sent: Monday, May 12, 2008 10:19 AM
To: [email protected]
Subject: Re: [Ironruby-core] Try IronRuby in your browser

You might want to change your blog entry to say "OSI-approved Open Source 
license" instead of "GPL-based license" so that you don't give our lawyers a 
collective heart attack ;).
On Mon, May 12, 2008 at 9:46 AM, Oleg Tkachenko <[EMAIL 
PROTECTED]<mailto:[EMAIL PROTECTED]>> wrote:
Hello!

I put together some simple version of IronRuby powered "Try Ruby" [1].
This is just night hack, I hope to improve it.

Now, the problem is that anybody can crash it with "def f() f() end",
"f()". I mean StackOverflowException, which is really bad on shared
ASP.NET<http://asp.net/> hosting.

Any idea if IronRuby can prevent stack overflow? I'm volunteering to
contribute an implementation if so.


[1] http://www.ironruby.info/ir/
--
Oleg


_______________________________________________
Ironruby-core mailing list
[email protected]<mailto:[email protected]>
http://rubyforge.org/mailman/listinfo/ironruby-core

_______________________________________________
Ironruby-core mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to