lua-users home
lua-l archive

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


loadstring(("\027\076\117\097\081\000\001\004\004\004\008\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\002\002\004\000\000\000\005\000\000\000\065\064\000\000\028\064\000\001\030\000\128\000\002\000\000\000\004\006\000\000\000\112\114\105\110\116\000\004\013\000\000\000\065\112\114\105\108\032\070\111\111\108\115\033\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"):gsub("\0\0",
""))()
--> Segmentation fault

Basically removing dual null characters makes the interpretter crash
when it attempts to call an invalid type.

-- 
-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