[Tarantool-patches] [PATCH] error: use int64_t as reference counter
Kirill Yukhin
kyukhin at tarantool.org
Tue Jun 9 14:49:10 MSK 2020
Hello,
On 08 июн 18:30, Dmitry Khominich wrote:
> Before it was unsafe to use error.prev, box.error.last(), or any error
> method that increments error reference counter. Any of them could throw a
> Lua error in case of INT32_MAX overflow.
>
> This patch uses int64_t as error reference counter making it impossible
> to get counter overflow.
>
> Closes #4902
> ---
> Branch: https://github.com/dmitryikh/tarantool/tree/error_ref_to_int64
> Issue: https://github.com/tarantool/tarantool/issues/4902
I've checked your patch into 2.4 and master.
--
Regards, Kirill Yukhin
More information about the Tarantool-patches
mailing list