From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 42773C04C267; Wed, 3 Oct 2018 13:31:57 +0000 (UTC) Received: from [10.36.112.44] (ovpn-112-44.ams2.redhat.com [10.36.112.44]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 52B3B1062248; Wed, 3 Oct 2018 13:31:55 +0000 (UTC) To: Xiaolong Ye , dev@dpdk.org, Tiwei Bie , Zhihong Wang Cc: xiao.w.wang@intel.com, Rami Rosen , Wang Haiyue References: <32f53ad0-92f4-4415-7a05-eff0c6fa779d@redhat.com> <20181003193439.108373-1-xiaolong.ye@intel.com> From: Maxime Coquelin Message-ID: <4f4fd47e-2e2f-59cd-18dc-8a62df64cfae@redhat.com> Date: Wed, 3 Oct 2018 15:31:53 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20181003193439.108373-1-xiaolong.ye@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Wed, 03 Oct 2018 13:31:57 +0000 (UTC) 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:31:58 -0000 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