lua-users home
lua-l archive

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


On Fri, Jul 3, 2009 at 11:36 PM, David Manura wrote:
> I was able to cause "lua -e 'error(5)'" to crash by triggering an
> allocation failure in lmem.c:

That modification to lmem.c was likely not valid (returns alloc
failure after successfully allocating); I should have made the change
instead to lauxlib.c:l_alloc.  The code may be fragile here, but I do
not currently have a valid crash in practice.