From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id 1EA271C628; Sun, 13 May 2018 23:53:00 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id AAD6125B8A; Sun, 13 May 2018 17:52:59 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sun, 13 May 2018 17:52:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=wAT/9oepzPKFpjIF8SrAjcfxa3 DPmf9ej7NWcO6HGrQ=; b=T504Bx4H7uuU5bK52q7GLfx5V4egPr9huRnYc1GPdZ EnAwV+aDp8SmMGCcvM0+ao3kYZdplRcIn3oWFN/pOJocUAIGxZpZqWDmcqPGRcMz ft+RaDFwxxc7BlzLFDtSidvpAx21/PGtF/1eiiuKybrOVsCAFzNeQN9Yzsm4ke8u Y= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=wAT/9o epzPKFpjIF8SrAjcfxa3DPmf9ej7NWcO6HGrQ=; b=bxrNdC8Vh2c+Nub05nEBCF XphhPt2+/HHhxzGrpFcrUACJMw9KhTy7Xkgu7DYD2oE2ExA0ina84FWarelU5YY2 19y40fnOvdRev9PtiD7ML2k4GAvqi62RE8VqxsEDuQcAC2rW9zZbIjccsziauoQK BSjU4OW5gZ0QXQ/fR/w6u+/f/yO8gZLJ/Pg7JgHNpcsbrOrGNgECk96LKf77zKqC YzhP2lHdqCXdZSmgs5Ks2qYbKh7JKPyjoGVur/5Pqok2CiEsA4lVk1GPjGrD9XPx yQvbnO8DHn/AFl3cndtODnSRyc/yJHxF8FRRWYAdYmtA4Zpx7QllndYsFRLQf1ow == X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id D024CE4123; Sun, 13 May 2018 17:52:58 -0400 (EDT) From: Thomas Monjalon To: "Pattan, Reshma" Cc: stable@dpdk.org, "De Lara Guarch, Pablo" , "dev@dpdk.org" , "Richardson, Bruce" , "Zhang, Roy Fan" Date: Sun, 13 May 2018 23:52:57 +0200 Message-ID: <3801988.GgUVTGUmNi@xps> In-Reply-To: References: <1525881417-30440-1-git-send-email-reshma.pattan@intel.com> <1525882266-2161-1-git-send-email-reshma.pattan@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH v3] examples/ipsec-secgw: replace strncpy with strlcpy 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: Sun, 13 May 2018 21:53:00 -0000 > > Use strlcpy instead of strncpy. > > Use strcpy where boundchecks on destination is not needed. > > > > Fixes: 0d547ed037 ("examples/ipsec-secgw: support configuration file") > > Fixes: 07b156199f ("examples/ipsec-secgw: fix configuration string > > termination") > > Fixes: a1469c319f ("examples/ipsec-secgw: fix configuration parsing") > > Cc: stable@dpdk.org > > CC: Zhang,Roy Fan > > > > Signed-off-by: Reshma Pattan > > Acked-by: Pablo de Lara Applied, thanks