From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CB672C4360F for ; Thu, 4 Apr 2019 23:59:27 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id 4E6D820882 for ; Thu, 4 Apr 2019 23:59:27 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=monjalon.net header.i=@monjalon.net header.b="oALI/v8n"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="psmBaEW+" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4E6D820882 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=monjalon.net Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org 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="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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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