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 6A3B627D for ; Tue, 24 Oct 2017 11:50:36 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Oct 2017 02:50:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.43,427,1503385200"; d="scan'208";a="913109592" Received: from bricha3-mobl3.ger.corp.intel.com ([10.237.221.32]) by FMSMGA003.fm.intel.com with SMTP; 24 Oct 2017 02:50:33 -0700 Received: by (sSMTP sendmail emulation); Tue, 24 Oct 2017 10:50:32 +0100 Date: Tue, 24 Oct 2017 10:50:32 +0100 From: Bruce Richardson To: Kirill Rybalchenko Cc: dev@dpdk.org, andrey.chilikin@intel.com, beilei.xing@intel.com, jingjing.wu@intel.com Message-ID: <20171024095031.GB28136@bricha3-MOBL3.ger.corp.intel.com> References: <1508757889-40845-1-git-send-email-kirill.rybalchenko@intel.com> <1508836958-76512-1-git-send-email-kirill.rybalchenko@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1508836958-76512-1-git-send-email-kirill.rybalchenko@intel.com> Organization: Intel Research and Development Ireland Ltd. User-Agent: Mutt/1.9.1 (2017-09-22) 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 09:50:36 -0000 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