[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: LuaJIT2: data corruption with lua_tolstring()
- From: Alexander Gladysh <agladysh@...>
- Date: Tue, 22 Nov 2011 01:05:57 +0400
On Tue, Nov 22, 2011 at 00:08, Alexander Gladysh <firstname.lastname@example.org> wrote:
> On Mon, Nov 21, 2011 at 23:53, Mike Pall <email@example.com> wrote:
>> Alexander Gladysh wrote:
>>> In short, when we do mass lua_tolstring() conversions of number
>>> values, passed as function arguments, we sometimes encounter weird
>>> data corruption.
>> Thank you for the bug report and the test case! Fixed in git HEAD.
> Mike, thank you for the prompt fix! We will test it and report back ASAP.
Fix confirmed! Thanks again!
This is a long-standing critical (IMO) bug, which may cause data loss
to unsuspecting library users. For example we experienced it with (our
own) lua-hiredis library. So, if you could tag b9 soon, it would be