[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Patch for luaossl for Lua 5.4.3 (warning for users of luaL_Buffer!)
- From: Roberto Ierusalimschy <roberto@...>
- Date: Thu, 8 Apr 2021 17:57:50 -0300
> But until 5.4.3 the code in luaossl worked in practice even though it was wrong in theory. [...]
Before 5.4.3, aux. buffers also used the stack, but only when their
content reached a minimum size (1K?). So, there is a chance that your
code did not work in practice all the time, only when the practice did
not produce large enough strings.
>From this point of view, the new implementation is more robust, as it
exposes this kind of bug.