From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Coquelin Subject: Re: [PATCH] examples/vdpa: replace strncpy with strscpy function Date: Wed, 3 Oct 2018 15:31:53 +0200 Message-ID: <4f4fd47e-2e2f-59cd-18dc-8a62df64cfae@redhat.com> References: <32f53ad0-92f4-4415-7a05-eff0c6fa779d@redhat.com> <20181003193439.108373-1-xiaolong.ye@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: xiao.w.wang@intel.com, Rami Rosen , Wang Haiyue To: Xiaolong Ye , dev@dpdk.org, Tiwei Bie , Zhihong Wang Return-path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 84DCC1B1D7 for ; Wed, 3 Oct 2018 15:31:58 +0200 (CEST) In-Reply-To: <20181003193439.108373-1-xiaolong.ye@intel.com> Content-Language: en-US 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 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, Maxime