lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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