lua-users home
lua-l archive

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


> >  v55 = string.dump(v19)
> >  v56 = string.format(v55,v16,v6)
> >  v58 = load(v56)
>
> This dumps the byte code of v19,  then potentially mutilates the dump,
> then tries to load the potentially malformed byte code. Which, per the
> documentation, "can crash the interpreter".

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