From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] examples/vhost: fix the use of strnlen() Date: Wed, 10 May 2017 19:06:58 +0200 Message-ID: <15577399.ontbiqNk7A@xps> References: <1492342780-3810-1-git-send-email-jiangg@mail.ustc.edu.cn> <2380233.6DIshRJKlI@xps> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Cc: dev@dpdk.org To: Gang Jiang Return-path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 20D7414EC for ; Wed, 10 May 2017 19:07:00 +0200 (CEST) In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 05/05/2017 15:59, Gang Jiang: > My name is Gang Jiang. >=20 > =E5=8F=91=E4=BB=B6=E4=BA=BA: "Thomas Monjalon" > > 16/04/2017 13:39, jiangg: > > > The return value of strnlen(s, maxlen) is never bigger than maxlen. > > >=20 > > > Signed-off-by: jiangg > >=20 > > Please, could you provide your full name in SoB? > >=20 > > We could also add a Fixes: line. > >=20 > > Thanks =46ixes: 4796ad63ba1f ("examples/vhost: import userspace vhost application") Applied, thanks