From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 1D1FD1B827 for ; Tue, 24 Oct 2017 20:13:00 +0200 (CEST) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Oct 2017 11:12:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.43,428,1503385200"; d="scan'208";a="166548664" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.241.225.60]) ([10.241.225.60]) by fmsmga005.fm.intel.com with ESMTP; 24 Oct 2017 11:12:59 -0700 To: Bruce Richardson , Kirill Rybalchenko Cc: dev@dpdk.org, andrey.chilikin@intel.com, beilei.xing@intel.com, jingjing.wu@intel.com References: <1508757889-40845-1-git-send-email-kirill.rybalchenko@intel.com> <1508836958-76512-1-git-send-email-kirill.rybalchenko@intel.com> <20171024095031.GB28136@bricha3-MOBL3.ger.corp.intel.com> From: Ferruh Yigit Message-ID: Date: Tue, 24 Oct 2017 11:12:59 -0700 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: <20171024095031.GB28136@bricha3-MOBL3.ger.corp.intel.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH] net/i40e: fix unsecure usage of strncpy function 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: Tue, 24 Oct 2017 18:13:01 -0000 On 10/24/2017 2:50 AM, Bruce Richardson wrote: > On Tue, Oct 24, 2017 at 10:22:38AM +0100, Kirill Rybalchenko wrote: >> Use more secure snprintf function instead of strncpy >> to prevent memory access violation. >> >> Fixes: 40d1324423a4 ("net/i40e: get ddp profile protocol info") >> >> Signed-off-by: Kirill Rybalchenko > > Reviewed-by: Bruce Richardson Applied to dpdk-next-net/master, thanks.