lua-users home
lua-l archive

Re: unpack segfault

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


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

AltStyle によって変換されたページ (->オリジナル) /