From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 929F1A0679 for ; Fri, 5 Apr 2019 01:55:13 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 373961B3D2; Fri, 5 Apr 2019 01:55:13 +0200 (CEST) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id BA3651B3D2; Fri, 5 Apr 2019 01:55:11 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 534E7219FE; Thu, 4 Apr 2019 19:55:11 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 04 Apr 2019 19:55:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=/QTR1giPKjDgg3G2PRv8Zsilqln3BlS3txV8TuH63aQ=; b=H7Vxav+rqFp8 v9g2bLdGzpVWdqgeJcaPDG1C1cChlWuO/USo+llYrIqnEkGLfhcDvr9rUsgSj2C/ 62uaO82cU+6vwf9Y8OL+91fR7iFNmZTsDDWe5aSIxQFwf8V4fsmqw4r1WMlqXsCt bXVsugM8ljHsfg0BsRUW+kmBTDkzgS4= 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-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=/QTR1giPKjDgg3G2PRv8Zsilqln3BlS3txV8TuH63 aQ=; b=dZmKZYuBA2xEwSuRH0vEH8rlXK2noOkIM0AoglLR/LrBSp6V7yk2dPg7f M3LL1/JVByATO7m1FS+JPH1bcLX6I0/V7H4DpF4wE/JLTfrZCdv1PJNgJjct7PNa pncGIj8qcYicCYXm/ufrwuSAQmflCej+Xw8e1BvAjmY1YMw9KzCMZJj/0uz/gD19 rVE4PxtoW0OVyNeOjnuf8iI89YOmIqlwYjEND8sFayfKQ4Ndq8GfPQCq7xTwmlO6 6/ywEKVvhW9c1eZHF5hwA5TJdj21fAJo/jcWOuB4Qo+59uGjpVYmq+IBTGTOBzaG iGnYhp+45ZmAqLmNHD0Ok1ijNOyqg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrtdeigddvheculddtuddrgedutddrtddtmd cutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg hnthhsucdlqddutddtmdenucfjughrpefhvffufffkjghfggfgtgesthfuredttddtvden ucfhrhhomhepvfhhohhmrghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrg hlohhnrdhnvghtqeenucfkphepjeejrddufeegrddvtdefrddukeegnecurfgrrhgrmhep mhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtnecuvehluhhsth gvrhfuihiivgeptd X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id DA6C8E40D0; Thu, 4 Apr 2019 19:55:09 -0400 (EDT) From: Thomas Monjalon To: Pallantla Poornima Cc: dev@dpdk.org, "Hunt, David" , reshma.pattan@intel.com, bruce.richardson@intel.com, ferruh.yigit@intel.com, stable@dpdk.org Date: Fri, 05 Apr 2019 01:55:08 +0200 Message-ID: <1784780.ppGTLsGNga@xps> In-Reply-To: <30b77705-4909-854b-303c-d3241231827b@intel.com> References: <30b77705-4909-854b-303c-d3241231827b@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v2] test/distributor: fix sprintf 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Message-ID: <20190404235508._nHh-Tjpn9XNcC0CsljsWVOhuatqXzZcMegNipSv2Ok@z> 25/03/2019 16:11, Hunt, David: > On 14/2/2019 9:45 AM, Pallantla Poornima wrote: > > sprintf function is not secure as it doesn't check the length of string. > > replaced sprintf with strlcpy. > > > > Fixes: f74df2c57e ("test/distributor: test single and burst API") > > Cc: stable@dpdk.org > > > > Signed-off-by: Pallantla Poornima > > --- > > v2: Addressed review comment to replace snprintf to strlcpy. > > --- > > Acked-by: David Hunt Applied, thanks