[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: luac and loadstring hang
- From: Shmuel Zeigerman <shmuz@...>
- Date: Mon, 16 Nov 2009 14:09:30 +0200
The string below, when fed to loadstring, causes the interpreter to
hang. (Same behavior if this string is saved to file and then fed to
luac). Lua 5.1.4, Windows XP SP2.
-- test begin --
local str =
"\27\76\117\97\81\0\1\4\4\4\8\0\7\0\0\0\64\49\46\108\117\97" ..
"\0\0\0\0\0\0\0\0\0\0\0\2\2\3\0\0\0\1\0\0\14\0\0\0\30\0\128" ..
"\0\1\0\0\0\3\0\0\0\0\0\0\23\64\0\0\0\0\3\0\0\0\1\0\0\0\2\0" ..
"\0\0\2\0\0\0\1\0\0\0\2\0\0\0\102\0\1\0\0\0\2\0\0\0\0\0\0\0"
loadstring(str)
--
Shmuel