lua-users home
lua-l archive

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


Roberto Ierusalimschy <roberto@inf.puc-rio.br> 于2021年4月9日周五 上午4:58写道:
>
> > 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.
>

Someone reports a similar issue after I update to 5.4.3 in my project
today: https://github.com/cloudwu/skynet/issues/1388

I think I should check all of my old projects.

-- 
http://blog.codingnow.com