From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gorcunov@gmail.com> Received: from mail-lj1-f194.google.com (mail-lj1-f194.google.com [209.85.208.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 3AB07469719 for <tarantool-patches@dev.tarantool.org>; Fri, 28 Feb 2020 11:52:27 +0300 (MSK) Received: by mail-lj1-f194.google.com with SMTP id e18so2404998ljn.12 for <tarantool-patches@dev.tarantool.org>; Fri, 28 Feb 2020 00:52:27 -0800 (PST) Date: Fri, 28 Feb 2020 11:52:24 +0300 From: Cyrill Gorcunov <gorcunov@gmail.com> Message-ID: <20200228085224.GH2464@uranus> References: <20200228074009.32669-1-gorcunov@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200228074009.32669-1-gorcunov@gmail.com> Subject: Re: [Tarantool-patches] [PATCH] test: unit/popen -- fix potential uninitialized access 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: tml <tarantool-patches@dev.tarantool.org> On Fri, Feb 28, 2020 at 10:40:09AM +0300, Cyrill Gorcunov wrote: > If handle allocation failed we may access unitialized > variable. Not a big deal in this particular case but > better to be on safe side and make compilers happy. > > Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com> Drop it.