From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 799321B3A5; Fri, 5 Apr 2019 01:59:24 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id E35E02395B; Thu, 4 Apr 2019 19:59:23 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Thu, 04 Apr 2019 19:59:23 -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=XT66IhGq9xZNtNgllwYdm0WCapL+JuA+3Iy3IQ8gO+I=; b=oALI/v8nJ1zW 0hBvZNYPkw5KqJa5N0PUYg7EAJ0jtAqwG8DZuhqG7xHZJo6ELwlK/fug32p+JdkX OLr/RgLXi4D91cqU/chGggx4anz+TmzHLR2ygxb+OL5+tD6CgK5vk8UcT+Rmn0xI +tUvXAQ0sQj5px6AR4Gon+/WWUvixTk= 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=XT66IhGq9xZNtNgllwYdm0WCapL+JuA+3Iy3IQ8gO +I=; b=psmBaEW+K8QkHVlIBTA6z7CFeiP54kkz1/d+CEWDrM9WCrJ+dpIZigMAL /s6Bc1EasourwPHkyhwNLoIitFPVwot8RXDjsUyS8psGWsz/jWiSFKKpnEQPYbh2 rMdXJ97ZbrQVQpEkRU1a/AMhi8HypExcj5nnpDPvbzY1MuElKrp+JZbxYCHPG+p/ OjYvCFxEDGtNawSCM0lfzB7ZdT57BudjGj2K/nHK6mn9JI/wg8eg8Y+d8Uw2zWmc y26ZwW2vq+Z34v7JvvY4wGK2buq3vuI0Hkw3tzwdFj3lAqsJAV9x6xLHVpJ2X8ky 1zHXbD244uJNknDn8yRjS5hMYOVkA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrtdeigddvieculddtuddrgedutddrtddtmd 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 EC1EC10316; Thu, 4 Apr 2019 19:59:21 -0400 (EDT) From: Thomas Monjalon To: Pallantla Poornima Cc: dev@dpdk.org, reshma.pattan@intel.com, yipeng1.wang@intel.com, sameh.gobriel@intel.com, bruce.richardson@intel.com, pablo.de.lara.guarch@intel.com, stable@dpdk.org Date: Fri, 05 Apr 2019 01:59:20 +0200 Message-ID: <59787661.4Q7yShhE9H@xps> In-Reply-To: <1553596043-21363-1-git-send-email-pallantlax.poornima@intel.com> References: <1550149062-14300-1-git-send-email-pallantlax.poornima@intel.com> <1553596043-21363-1-git-send-email-pallantlax.poornima@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v3] app/test/hash: fix sprintf with snprintf 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: Thu, 04 Apr 2019 23:59:24 -0000 26/03/2019 11:27, Pallantla Poornima: > sprintf function is not secure as it doesn't check the length of string. > More secure function snprintf is used. > > Fixes: 473d1bebce ("hash: allow to store data in hash table") > Cc: stable@dpdk.org > > Signed-off-by: Pallantla Poornima > Acked-by: Yipeng Wang Applied, thanks 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 4C159A0679 for ; Fri, 5 Apr 2019 01:59:27 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1F4A51B3A7; Fri, 5 Apr 2019 01:59:26 +0200 (CEST) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 799321B3A5; Fri, 5 Apr 2019 01:59:24 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id E35E02395B; Thu, 4 Apr 2019 19:59:23 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Thu, 04 Apr 2019 19:59:23 -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=XT66IhGq9xZNtNgllwYdm0WCapL+JuA+3Iy3IQ8gO+I=; b=oALI/v8nJ1zW 0hBvZNYPkw5KqJa5N0PUYg7EAJ0jtAqwG8DZuhqG7xHZJo6ELwlK/fug32p+JdkX OLr/RgLXi4D91cqU/chGggx4anz+TmzHLR2ygxb+OL5+tD6CgK5vk8UcT+Rmn0xI +tUvXAQ0sQj5px6AR4Gon+/WWUvixTk= 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=XT66IhGq9xZNtNgllwYdm0WCapL+JuA+3Iy3IQ8gO +I=; b=psmBaEW+K8QkHVlIBTA6z7CFeiP54kkz1/d+CEWDrM9WCrJ+dpIZigMAL /s6Bc1EasourwPHkyhwNLoIitFPVwot8RXDjsUyS8psGWsz/jWiSFKKpnEQPYbh2 rMdXJ97ZbrQVQpEkRU1a/AMhi8HypExcj5nnpDPvbzY1MuElKrp+JZbxYCHPG+p/ OjYvCFxEDGtNawSCM0lfzB7ZdT57BudjGj2K/nHK6mn9JI/wg8eg8Y+d8Uw2zWmc y26ZwW2vq+Z34v7JvvY4wGK2buq3vuI0Hkw3tzwdFj3lAqsJAV9x6xLHVpJ2X8ky 1zHXbD244uJNknDn8yRjS5hMYOVkA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrtdeigddvieculddtuddrgedutddrtddtmd 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 EC1EC10316; Thu, 4 Apr 2019 19:59:21 -0400 (EDT) From: Thomas Monjalon To: Pallantla Poornima Cc: dev@dpdk.org, reshma.pattan@intel.com, yipeng1.wang@intel.com, sameh.gobriel@intel.com, bruce.richardson@intel.com, pablo.de.lara.guarch@intel.com, stable@dpdk.org Date: Fri, 05 Apr 2019 01:59:20 +0200 Message-ID: <59787661.4Q7yShhE9H@xps> In-Reply-To: <1553596043-21363-1-git-send-email-pallantlax.poornima@intel.com> References: <1550149062-14300-1-git-send-email-pallantlax.poornima@intel.com> <1553596043-21363-1-git-send-email-pallantlax.poornima@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v3] app/test/hash: fix sprintf with snprintf 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: <20190404235920.1f7OcXfF3yRHg_E_D0ImLAQZNNIvYt8BE2hRSR6TWqA@z> 26/03/2019 11:27, Pallantla Poornima: > sprintf function is not secure as it doesn't check the length of string. > More secure function snprintf is used. > > Fixes: 473d1bebce ("hash: allow to store data in hash table") > Cc: stable@dpdk.org > > Signed-off-by: Pallantla Poornima > Acked-by: Yipeng Wang Applied, thanks