lua-users home
lua-l archive

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


On Mon, Aug 31, 2020 at 5:25 AM secwx weizhenvul <weizhenvul@gmail.com> wrote:

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

Don't do that.

Cheers,
V.