lua-users home
lua-l archive

Re: Are there some potential problems if I use a self-defined memory acquirement function instead of realloc(3) in the l_alloc function?

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


>>>>> "孙世龙" == 孙世龙 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.

AltStyle によって変換されたページ (->オリジナル) /