From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <kyukhin@tarantool.org>
Received: from smtp14.mail.ru (smtp14.mail.ru [94.100.181.95])
 (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 767ED469719
 for <tarantool-patches@dev.tarantool.org>;
 Wed, 23 Sep 2020 13:58:50 +0300 (MSK)
Date: Wed, 23 Sep 2020 13:58:49 +0300
From: Kirill Yukhin <kyukhin@tarantool.org>
Message-ID: <20200923105849.ysr2vvhstyrebjvu@tarantool.org>
References: <ecb3c3dba9338ecee6387cc4b74671a938d48389.1600786660.git.kyukhin@tarantool.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <ecb3c3dba9338ecee6387cc4b74671a938d48389.1600786660.git.kyukhin@tarantool.org>
Subject: Re: [Tarantool-patches] [PATCH] coio: fix cord leak on stop
List-Id: Tarantool development patches <tarantool-patches.dev.tarantool.org>
List-Unsubscribe: <https://lists.tarantool.org/mailman/options/tarantool-patches>, 
 <mailto:tarantool-patches-request@dev.tarantool.org?subject=unsubscribe>
List-Archive: <https://lists.tarantool.org/pipermail/tarantool-patches/>
List-Post: <mailto:tarantool-patches@dev.tarantool.org>
List-Help: <mailto:tarantool-patches-request@dev.tarantool.org?subject=help>
List-Subscribe: <https://lists.tarantool.org/mailman/listinfo/tarantool-patches>, 
 <mailto:tarantool-patches-request@dev.tarantool.org?subject=subscribe>
To: gorcunov@gmail.com
Cc: tarantool-patches@dev.tarantool.org

Hello,

On 22 сен 17:59, Kirill Yukhin wrote:
> cord_ptr variable is calloc()-ated in coio_on_start()
> and is not free()-ed, which triggers ASAN. free() it
> in coio_on_stop().
> 
> Closes #5308
> ---
> 
> Branch: https://github.com/tarantool/tarantool/tree/kyukhin/gh-5308-cord-leak
> Issue: https://github.com/tarantool/tarantool/issues/5308
> ChangeLog: not user visible

I've checked the patch into 1.10, 2.4, 2.5 and master.
Applied update for supressions file as well.

--
Regards, Kirill Yukhin