[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: does lua_pushstring check stack overflow? (Lua 5.0.2)
- From: Glenn Maynard <glenn@...>
- Date: Mon, 28 Nov 2005 23:06:37 -0500
On Tue, Nov 29, 2005 at 03:33:32AM +0100, Klaus Ripke wrote:
> not exactly, as it's not a library function, but a syscall
> (or really some small wrapper for it).
The point, in case you missed it, was that many C libraries do various
checking for invalid inputs, and that the degree of "you're on your own"
is a result of design choices, not the C language.
> For the kernel crashing is not a design choice (on non-windows systems).
As I said, the alternative is to segfault the application, not to crash
the kernel.
--
Glenn Maynard