lua-users home
lua-l archive

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


Andrew >In 5.3, yes. I pointed out this bug on this very mailing list in
Andrew >November 2017 and it has not been fixed in 5.3, only in 5.4.

I have carefully read your
posts(http://lua-users.org/lists/lua-l/2017-11/msg00149.html) and
studied your discussion with Roberto.

What confuses me is that what problems may occur if the
restriction(i.e. realloc\l_alloc should not fail when shrinking the
block) is broken.

On Tue, Aug 11, 2020 at 6:06 PM Andrew Gierth
<andrew@tao11.riddles.org.uk> wrote:
>
> >>>>> "孙世龙" == 孙世龙 sunshilong <sunshilong369@gmail.com> writes:
>
>  孙世龙> Hi, Sean Conner, Adrian,Roberto
>  孙世龙> I see. I agree with you.
>  孙世龙> Realloc(3) can fail when shrinking the block.
>
>  孙世龙> It seems that Lua has made such an assumption.
>
> In 5.3, yes. I pointed out this bug on this very mailing list in
> November 2017 and it has not been fixed in 5.3, only in 5.4.
>
> --
> Andrew.