lua-users home
lua-l archive

another segfault with malformed bytecode

[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

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