[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lua 5.4.2 crashes where Lua 5.3.6 does not
- From: Viacheslav Usov <via.usov@...>
- Date: Sat, 19 Dec 2020 12:36:10 +0100
On Sat, Dec 19, 2020 at 11:25 AM Andrew Gierth
> And indeed, what you do to the stack in the deentify / deentifyn
> functions is a classic example of violating the luaL_Buffer protocol -
> you're assuming you can push something, do an addstring, and then pop
> the thing that you pushed - but this is explicitly forbidden, since
> addstring is allowed to push new entries on the stack.
Is this the same thing as in
If this is, it is somewhat ironic that Sean participated in that thread.
It is a pity that three years later, this facility is neither
deprecated nor better specified as unsafe.