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 C75773250; Thu, 26 Jul 2018 19:56:06 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 41B5221903; Thu, 26 Jul 2018 13:56:06 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Thu, 26 Jul 2018 13:56:06 -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=nR2eCnnhtL1rotwce54YY7LP0W oYsR2shh9mUswzhIA=; b=GohReby1c8huN1vpjeaHOBtyk1o7iMvS2j3YppStML +F1/H6uIp0RzokfBpye9aNZNcY0wPHrNzfMXTnByqEXUhKOGqmTQEMA8uJFLcY4m Z5grZj6a7ELVm7jT8IVMG9ARzf44MTBFXMCLH8LU1WCVOUJeG90GLjtR9SaesIyG 8= 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=fm3; bh=nR2eCn nhtL1rotwce54YY7LP0WoYsR2shh9mUswzhIA=; b=mvtgtPJ4J7J/0ctmmqfUSH 5tFLcWlwhbxAtbEZ8lWysZSERppjten9US+uriexGhcUxEjLQKG5eGiZwHw/pt/Q a5QQ5EotWs2k/3Qk98a4CFGnHYdFJvvVOdWUHH/YpcyCvijrMa1X/gmnSv3By1Vd dFwiCNCPqakszqxw76An7hhkrNflrDHOx5DS2NYEtWk0qz37OivUMnhCF91n8tAg Wj/C1JFt6uQy2pJanZfOZk9KEfRnuc4AstlYEdtFw+R4Z9Nc9/588aZac8DOh3vk VvDjYEB2XNk1QVNWxP1b14eNPmQVNhslkLnW8QIW3jx3yjjg3G6ygk1/Kc63u6CQ == X-ME-Proxy: 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 54EBA10261; Thu, 26 Jul 2018 13:56:05 -0400 (EDT) From: Thomas Monjalon To: Bruce Richardson Cc: dev@dpdk.org, stable@dpdk.org Date: Thu, 26 Jul 2018 19:56:00 +0200 Message-ID: <2251383.fKlYTZxrpu@xps> In-Reply-To: <20180716160347.35376-1-bruce.richardson@intel.com> References: <20180716160347.35376-1-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] examples/exception_path: fix possible out-of-bounds read 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, 26 Jul 2018 17:56:07 -0000 16/07/2018 18:03, Bruce Richardson: > When printing out stats from the exception_path app, all possible > lcore_ids are iterated. However, the app only supports up to 64 cores. > To prevent possible errors, and to remove coverity warnings, > explicitly check for out-of-range lcore ids before printing. > > Coverity issue: 268335 > Fixes: af75078fece3 ("first public release") > > Cc: stable@dpdk.org > Signed-off-by: Bruce Richardson Applied, thanks