[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: possible bug in lua.c main report lua_tostring malloc
- From: David Manura <dm.lua@...>
- Date: Sat, 4 Jul 2009 01:12:47 -0400
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.