Re: unpack segfault
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: unpack segfault
- From: "Patrick Donnelly" <batrick.donnelly@...>
- Date: 2008年2月12日 20:54:27 -0700
Actually there are many more problems than I thought, and I don't even
know where to begin to start with this:
Lua 5.1.3 Copyright (C) 1994-2008 Lua.org, PUC-Rio
> return unpack({1,2,3}, 2^31-2, 2^31)
table: 0x807be80 2147483646 2147483648
Top three items on the stack? O.o Apparently you can keep going back
through the stack until it finally segfaults.
--
-Patrick Donnelly
"One of the lessons of history is that nothing is often a good thing
to do and always a clever thing to say."
-Will Durant