From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] examples/vhost: fix the use of strnlen() Date: Fri, 05 May 2017 14:11:35 +0200 Message-ID: <2380233.6DIshRJKlI@xps> References: <1492342780-3810-1-git-send-email-jiangg@mail.ustc.edu.cn> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: jiangg Return-path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 1A7352B9E for ; Fri, 5 May 2017 14:11:36 +0200 (CEST) In-Reply-To: <1492342780-3810-1-git-send-email-jiangg@mail.ustc.edu.cn> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi, 16/04/2017 13:39, jiangg: > The return value of strnlen(s, maxlen) is never bigger than maxlen. > > Signed-off-by: jiangg Please, could you provide your full name in SoB? We could also add a Fixes: line. Thanks