[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Bug : sieve.lua
- From: Mike Pall <mikelu-0607@...>
- Date: Mon, 31 Jul 2006 19:43:25 +0200
Hi,
Archie Maskill wrote:
> There appears to be a problem when running 'sieve.lua', the test
> script that comes with the Lua source code.
>
> I'm running it under uClinux on an embedded device with an ARM
> processor and no MMU.
Deep coroutine recursion is not caught. This is a known problem:
http://lua-users.org/lists/lua-l/2005-09/msg00457.html
Unfortunately there is no good solution:
http://lua-users.org/lists/lua-l/2005-04/msg00069.html
http://lua-users.org/lists/lua-l/2005-04/msg00084.html
Corollary #1: don't do it. :-)
Corollary #2: don't give untrusted scripts access to the pure
coroutine functions.
Bye,
Mike