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 B0E561B39B for ; Wed, 3 Oct 2018 16:13:15 +0200 (CEST) Received: from smtp.corp.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.26]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id C2565C068BE2; Wed, 3 Oct 2018 14:13:14 +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 78575309136D; Wed, 3 Oct 2018 14:13:12 +0000 (UTC) To: Ye Xiaolong Cc: dev@dpdk.org, Tiwei Bie , Zhihong Wang , xiao.w.wang@intel.com, Rami Rosen , Wang Haiyue References: <32f53ad0-92f4-4415-7a05-eff0c6fa779d@redhat.com> <20181003193439.108373-1-xiaolong.ye@intel.com> <4f4fd47e-2e2f-59cd-18dc-8a62df64cfae@redhat.com> <20181003202828.GA108802@intel.com> From: Maxime Coquelin Message-ID: <8ba431f6-40fa-6e6f-ed6e-7c26135175c6@redhat.com> Date: Wed, 3 Oct 2018 16:13:10 +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: <20181003202828.GA108802@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.26 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Wed, 03 Oct 2018 14:13:15 +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 14:13:16 -0000 On 10/03/2018 10:28 PM, Ye Xiaolong wrote: > 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. Squashed and pushed to dpdk-next-virtio. Maxime