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 8235BA0AC5 for ; Fri, 3 May 2019 01:38:25 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3BC445F27; Fri, 3 May 2019 01:38:25 +0200 (CEST) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id A85965F17; Fri, 3 May 2019 01:38:23 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 2189823590; Thu, 2 May 2019 19:38:23 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Thu, 02 May 2019 19:38: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=KQIl+mEpl9rZ4mm4xOFzAzjIFnwXiCH68PC04fUMjJs=; b=WqXaYqR3rotY afUo0SmUKjpq/aeXPLepNOVc6HuzfKCDPAbjtSqYhTgS1GpCpr7Dx7iWhsx18IXR Z2RrpWi0MKPJaHH+eafEkuC/c4zy9+Gkpq296DVRaNoldmNA2nt3rYK0lT9foqIw TV3RqRuSQ+WN8+zva+GIMYJRzpFnKWE= 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=KQIl+mEpl9rZ4mm4xOFzAzjIFnwXiCH68PC04fUMj Js=; b=54RBO3/63L+vETb/oGXyWaEAOJ3pAli/HzYLnp0xhtBMUsfCTPfg6ona+ 5yplT4P8xeAEZhrWWpWbjGBYAjbOSveQQ+05ctoTxKl9MmGUjOpqMOsTuQvHa/X3 wcXUVoG+493RQnvFC2i+rxVeHnpcIdPaZcoqeoGYN+mXuG0gkJs02lZmbl5KPjb/ 5x4Uf6T7jNUiHC5igjXQxkzPZzkNubrGFLbe8SMLF+Iwc9s0EsP4wsHPO2+QMBVe CMDIxL0j03F5bQrXYTmrU4XD+KtVIztXS4UiiTq9tm4TDD7AHtF54S0001sSIPWX lZjCdbT4UJAYBcXiQZx0muILXNUwg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrjedtgddvfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucfkph epjeejrddufeegrddvtdefrddukeegnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhho mhgrshesmhhonhhjrghlohhnrdhnvghtnecuvehluhhsthgvrhfuihiivgeptd 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 34171103D0; Thu, 2 May 2019 19:38:22 -0400 (EDT) From: Thomas Monjalon To: David Hunt Cc: stable@dpdk.org, dev@dpdk.org Date: Fri, 03 May 2019 01:38:21 +0200 Message-ID: <2453136.0L2uUJhSfQ@xps> In-Reply-To: <20190426084209.3853-1-david.hunt@intel.com> References: <20190423085344.3493-1-david.hunt@intel.com> <20190426084209.3853-1-david.hunt@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH v3] examples/vm_power_manager: fix buffer overrun 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: <20190502233821.i0hVP_kZqOQ1Pc2xDO5t2Ac9mfRqOEqXNUCGDDZTwns@z> 26/04/2019 10:42, David Hunt: > The freqs array in freq_info struct has RTE_MAX_LCORE_FREQS elements, > yet the code can attempt to look at the index at RTE_MAX_LCORE, > which may be greater than RTE_MAX_LCORE_FREQS. Fix to limit index to > RTE_MAX_LCORE_FREQS. > > Fixes: d26c18c93260 ("examples/vm_power: cpu frequency in host") > Coverity issue: 337660 > CC: stable@dpdk.org > Signed-off-by: David Hunt > Acked-by: Reshma Pattan Applied, thanks