From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id C17FE1B283; Fri, 10 Nov 2017 10:38:38 +0100 (CET) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga105.jf.intel.com with ESMTP; 10 Nov 2017 01:38:37 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,373,1505804400"; d="scan'208";a="507853" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.254.21.79]) ([10.254.21.79]) by FMSMGA003.fm.intel.com with ESMTP; 10 Nov 2017 01:38:36 -0800 To: Alejandro Lucero , dev@dpdk.org Cc: stable@dpdk.org References: <1510151792-45382-1-git-send-email-alejandro.lucero@netronome.com> From: Ferruh Yigit Message-ID: <9302252d-a14a-e2b3-71fa-785788ca2e48@intel.com> Date: Fri, 10 Nov 2017 01:38:36 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <1510151792-45382-1-git-send-email-alejandro.lucero@netronome.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-stable] [PATCH] net/nfp: fix null pointer check X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Nov 2017 09:38:39 -0000 On 11/8/2017 6:36 AM, Alejandro Lucero wrote: > First, the received pointer was not checked before. Then the pointer > from malloc was not the one used in the existing check. > > Fixes: ad60bca34899 ("net/nfp: read PF port MAC addr using NSP") > Coverity: 195027 > > Signed-off-by: Alejandro Lucero Applied to dpdk/master, thanks.