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 919C9A0579; Thu, 1 Apr 2021 17:27:48 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 20D7A140F1D; Thu, 1 Apr 2021 17:27:48 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 9139A140F03 for ; Thu, 1 Apr 2021 17:27:46 +0200 (CEST) IronPort-SDR: 0PFHp19T7KE4CMdMgVzu5AIUibn82YEDps4DK92hcZwrmzs+yI0BJaAUWWMHDh5Z5/wbF3LOhl jGCn68/skMbg== X-IronPort-AV: E=McAfee;i="6000,8403,9941"; a="192372161" X-IronPort-AV: E=Sophos;i="5.81,296,1610438400"; d="scan'208";a="192372161" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Apr 2021 08:27:45 -0700 IronPort-SDR: lIpcNb9S5tDVxJMY6eCxIF/ncZaxNPhVW5EqWggngdVtVbErvCF85n/rakmrPxLwdNNwpYnaOo N8W9C4Qlbbnw== X-IronPort-AV: E=Sophos;i="5.81,296,1610438400"; d="scan'208";a="456031106" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.213.201.245]) ([10.213.201.245]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Apr 2021 08:27:44 -0700 To: "Min Hu (Connor)" , dev@dpdk.org Cc: thomas@monjalon.net, andrew.rybchenko@oktetlabs.ru References: <1616830688-65506-1-git-send-email-humin29@huawei.com> <1616830688-65506-4-git-send-email-humin29@huawei.com> From: Ferruh Yigit X-User: ferruhy Message-ID: <4aafb4b9-e3e6-ac55-700e-9713fc608189@intel.com> Date: Thu, 1 Apr 2021 16:27:40 +0100 MIME-Version: 1.0 In-Reply-To: <1616830688-65506-4-git-send-email-humin29@huawei.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH 3/3] ethdev: fix miss input validation when access EEPROM info 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 3/27/2021 7:38 AM, Min Hu (Connor) wrote: > From: Chengchang Tang > > This patch adds validity check of input pointer in EEPROM dump API. > > Fixes: 7a3f27cbf59b ("ethdev: add access to specific device info") > Cc: stable@dpdk.org > > Signed-off-by: Chengchang Tang > Signed-off-by: Min Hu (Connor) Reviewed-by: Ferruh Yigit