From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id F341C1B1E8 for ; Wed, 3 Oct 2018 15:41:01 +0200 (CEST) X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Oct 2018 06:41:01 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,336,1534834800"; d="scan'208";a="96114387" Received: from yexl-server.sh.intel.com (HELO localhost) ([10.67.110.207]) by orsmga001.jf.intel.com with ESMTP; 03 Oct 2018 06:40:50 -0700 Date: Thu, 4 Oct 2018 04:28:28 +0800 From: Ye Xiaolong To: Maxime Coquelin Cc: dev@dpdk.org, Tiwei Bie , Zhihong Wang , xiao.w.wang@intel.com, Rami Rosen , Wang Haiyue Message-ID: <20181003202828.GA108802@intel.com> References: <32f53ad0-92f4-4415-7a05-eff0c6fa779d@redhat.com> <20181003193439.108373-1-xiaolong.ye@intel.com> <4f4fd47e-2e2f-59cd-18dc-8a62df64cfae@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4f4fd47e-2e2f-59cd-18dc-8a62df64cfae@redhat.com> User-Agent: Mutt/1.9.4 (2018-02-28) Subject: Re: [dpdk-dev] [PATCH] examples/vdpa: replace strncpy with strscpy 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: Wed, 03 Oct 2018 13:41:02 -0000 On 10/03, Maxime Coquelin wrote: > > >On 10/03/2018 09:34 PM, Xiaolong Ye wrote: >> rte_strscpy is safer to use. >> >> Signed-off-by: Xiaolong Ye >> --- >> examples/vdpa/main.c | 5 +++-- >> 1 file changed, 3 insertions(+), 2 deletions(-) >> > >Reviewed-by: Maxime Coquelin > >I'll squash it into initial commit. Thanks. Xiaolong > >Thanks, >Maxime