[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: 'gc' tag method
- From: Roberto Ierusalimschy <roberto@...>
- Date: Thu, 21 Mar 2002 17:28:25 -0300
> Can't I do all those things from inside a C function as well? Untested code:
If you want to crash your program from C, you don't need Lua:
memset((void *)0, 0, INT_MAX);
The point is to avoid crashing your program from Lua. Whatever you
do in Lua, you cannot crash your program, even if you want (bugs
notwithstanding). Actually, more than crashing a program, we want to
make sure that Lua has no "buffer-overflow" bugs and other nasty things
like that.
-- Roberto