From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp36.i.mail.ru (smtp36.i.mail.ru [94.100.177.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 692774696C3 for ; Sat, 18 Apr 2020 02:54:25 +0300 (MSK) References: <878773d43bdc79130168b0beaf4e20aed795ddad.1587154034.git.korablev@tarantool.org> From: Vladislav Shpilevoy Message-ID: <0c99f856-c946-06bc-e87a-a95a87ea6eaa@tarantool.org> Date: Sat, 18 Apr 2020 01:54:22 +0200 MIME-Version: 1.0 In-Reply-To: <878773d43bdc79130168b0beaf4e20aed795ddad.1587154034.git.korablev@tarantool.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Tarantool-patches] [PATCH v2 1/2] box/error: don't allow overflow of error ref counter List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Nikita Pettik , tarantool-patches@dev.tarantool.org Hi! Thanks for the patch! Maybe just make the ref counter uint64_t? It will never overflow then, and the patch would become of 2 lines.