From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 82F7AA0579; Tue, 20 Apr 2021 00:35:59 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 53E3D41448; Tue, 20 Apr 2021 00:35:59 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id CB6F740685; Tue, 20 Apr 2021 00:35:57 +0200 (CEST) IronPort-SDR: laWfbVAGBva3Mk8HthUH5sEVclz0uQSH1w1takbShsauhCPvnx1FAEiJE5c81bNjq2Ec4TZWrS I8oap1K3q7Nw== X-IronPort-AV: E=McAfee;i="6200,9189,9959"; a="192222880" X-IronPort-AV: E=Sophos;i="5.82,235,1613462400"; d="scan'208";a="192222880" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Apr 2021 15:35:56 -0700 IronPort-SDR: X/KXhfsZdJzbd6iE0I73W+10IlpQDb9y4OFKj4X5DPAyMXH3t+ySyWw1MQ7vWt7G5gOck23pYs A4FOgL3hFaJA== X-IronPort-AV: E=Sophos;i="5.82,235,1613462400"; d="scan'208";a="462893276" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.213.220.224]) ([10.213.220.224]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Apr 2021 15:35:54 -0700 To: "Zhang, Qi Z" , "Huang, Wei" , "dev@dpdk.org" , "Xu, Rosen" Cc: "stable@dpdk.org" , "Zhang, Tianfei" References: <20210408085151.54996-1-wei.huang@intel.com> <20210408085151.54996-2-wei.huang@intel.com> <4e1e3b11cfb24c87b3eac9e023a3090d@intel.com> From: Ferruh Yigit X-User: ferruhy Message-ID: Date: Mon, 19 Apr 2021 23:35:51 +0100 MIME-Version: 1.0 In-Reply-To: <4e1e3b11cfb24c87b3eac9e023a3090d@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v2 1/1] raw/ifpga/base: check size before assigning X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 4/19/2021 9:12 AM, Zhang, Qi Z wrote: > > >> -----Original Message----- >> From: Huang, Wei >> Sent: Thursday, April 8, 2021 4:52 PM >> To: dev@dpdk.org; Xu, Rosen ; Zhang, Qi Z >> >> Cc: stable@dpdk.org; Zhang, Tianfei ; Yigit, Ferruh >> ; Huang, Wei >> Subject: [PATCH v2 1/1] raw/ifpga/base: check size before assigning >> >> In max10_staging_area_init(), variable "size" from fdt_get_reg() may be invalid, >> it should be checked before assigning to member variable "staging_area_size" >> of structure "intel_max10_device". >> >> Coverity issue: 367480, 367482 >> Fixes: 96ebfcf8125c ("raw/ifpga/base: add SPI and MAX10 device driver") >> >> Signed-off-by: Wei Huang >> --- > > Applied to dpdk-next-net-intel. > This patch is missing the maintainer ack. Rosen, Tianfei, can you please review the patch?