[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Memory corruption in in luaV_execute (lua/Test_lua/lua/lvm.c:1784)
- From: Viacheslav Usov <via.usov@...>
- Date: Mon, 31 Aug 2020 11:58:35 +0200
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.