Source-Changes-D archive

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

Re: CVS commit: src/sys/modules/lua



Am 22.10.13 14:24, schrieb Christoph Badura:
> On Tue, Oct 22, 2013 at 09:25:19AM +0100, Alexander Nasonov wrote:
>> We just need to make sure that all entry points to Lua are protected and
>> hope that the above panic will never trigger.
> 
> Actually, I would prefer if that call to panic wasn't there at all.
> Instead the script/state should be aborted noisily.
I absolutely agree.  A problem within a Lua state must not cause a
kernel panic.  The only way to panic from Lua should be calling
"core.panic()" explicitely.




Home | Main Index | Thread Index | Old Index