From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] examples/exception_path: fix possible out-of-bounds read Date: Thu, 26 Jul 2018 19:56:00 +0200 Message-ID: <2251383.fKlYTZxrpu@xps> References: <20180716160347.35376-1-bruce.richardson@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, stable@dpdk.org To: Bruce Richardson Return-path: In-Reply-To: <20180716160347.35376-1-bruce.richardson@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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