lua-users home
lua-l archive

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

On Mon, Aug 31, 2020 at 12:28 PM Luiz Henrique de Figueiredo
<> wrote:

> Loading malformed bytecode should not crash Lua.
> Running maliciously crafted bytecode can crash the interpreter.

You are certainly free to make the bytecode loader more robust :)

That said, currently we see "Maliciously crafted binary chunks can
crash the interpreter" in the section on load(), and it is not obvious
at all that this does not apply to load() itself.

Not that the distinctions between "malformed" and "maliciously
crafted" and between "loading" and "running" would make a big
difference to Lua users.