From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 4434C239; Wed, 20 Sep 2017 12:15:43 +0200 (CEST) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Sep 2017 03:15:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,421,1500966000"; d="scan'208";a="153460955" Received: from aburakov-mobl2.ger.corp.intel.com (HELO [10.237.210.143]) ([10.237.210.143]) by fmsmga005.fm.intel.com with ESMTP; 20 Sep 2017 03:15:42 -0700 To: Kuba Kozak Cc: dev@dpdk.org, patrick@patrickmacarthur.net, stable@dpdk.org References: <1505901573-463-1-git-send-email-kubax.kozak@intel.com> From: "Burakov, Anatoly" Message-ID: Date: Wed, 20 Sep 2017 11:15:41 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <1505901573-463-1-git-send-email-kubax.kozak@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH] vfio: fix close unchecked file descriptor X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Sep 2017 10:15:44 -0000 On 20-Sep-17 10:59 AM, Kuba Kozak wrote: > Add file descriptor value check before calling close() function. > > Coverity issue: 141297 > Fixes: 811b6b25060f ("vfio: fix file descriptor leak in multi-process") > Cc: patrick@patrickmacarthur.net > Cc: stable@dpdk.org > > Signed-off-by: Kuba Kozak > --- Acked-by: Anatoly Burakov -- Thanks, Anatoly