[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] New project: Safe Lua
- From: Josh Simmons <simmons.44@...>
- Date: Wed, 3 Aug 2011 20:05:09 +1000
On Wed, Aug 3, 2011 at 7:37 PM, Stefan Reich
<stefan.reich.maker.of.eye@googlemail.com> wrote:
>>> What about infinite loops and eating all memory?
>
> Will all be protected against. Infinite loops I have taken care of
> already through a debug hook. It's also gonna be in the next release.
> Memory can be handled similarly. In the worst case, we'll patch the
> interpreter and add a check in the allocator. Any more questions? :)
>
Debug hooks won't solve all your problems, it's easy to lock up in a C
function call. You need OS help unless you want to restrict the
environment completely.