lua-users home
lua-l archive

Re: Finalizers and Lua.org demo page

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


On 2017年07月27日 02:50 AM, Mikhail Zaycev wrote:
"Lua does not check the consistency of binary chunks. Maliciously crafted binary chunks can crash the interpreter."
(https://www.lua.org/manual/5.3/manual.html#pdf-load)
I think, load() should not be available to user. Potentially it is as dangerous as os.execute().
HMAC on string.dump(), verify HMAC on load().
--
Disclaimer: these emails may be made public at any given time, with or without reason. If you don't agree with this, DO NOT REPLY.

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