From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 6FC6D1B6B4 for ; Sat, 14 Oct 2017 01:14:29 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id E3E2C20985; Fri, 13 Oct 2017 19:14:28 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Fri, 13 Oct 2017 19:14:28 -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=DwFFEHamDLeRGr9q09pbR5vvra E2LoJVAWmAgBiNgkw=; b=FREvfKbIWNtUawSpQgfQ+q+ZkbCsi7SJFThex2RTmj 2yLjFdtjvP4AJweMNeqwGt1UmBlqS/cNglAB+OebhSvn3d6gtlnzJ7YJB/yH/kW5 Ww6mkk9V6ISBhEGJfQbnQBOByFqb1yxGsNyIGyrMP+FUmPvIctiyQhFYh3wTzmYu M= 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=fm1; bh=DwFFEH amDLeRGr9q09pbR5vvraE2LoJVAWmAgBiNgkw=; b=GfawRvBuaujeKX7mlpA8fc PuZdvn4LSA1RVS2zZibq1qaZ9rtRWdj8FefYAdUK/M+H9QsFx1hKyDEArzPa9xC7 E9YXcseOQWHVI/I0/gQ5uDmfNTGfkLjVhwuztQs4YC/luKFG9lSk/nJ89Qt1q8Hb 2Ry1gyj78LdXMsVq/s1xO/wF62yDFkL+SqcULQqoKi6cnEh2rnYqCA4qzT0Kg3a7 1tSvrRTn9E3zjBT4AxQF8a/ryfF0SuvKzD98y7iSHlZd66aFWJybBuYc59I6cQRm HPjkfhh3KoYzZE2d/zuBjeyHCEaMFnOKMdSWNX1vgqH+t59wOu47tn0i+Uj6Xh0g == 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 966A67F96B; Fri, 13 Oct 2017 19:14:28 -0400 (EDT) From: Thomas Monjalon To: "Mrozowicz, SlawomirX" Cc: dev@dpdk.org, "Jastrzebski, MichalX K" , "Mcnamara, John" , "ian.betts@intel.com" Date: Sat, 14 Oct 2017 01:14:27 +0200 Message-ID: <4779056.ZiJMjdQF4n@xps> In-Reply-To: <60ABE07DBB3A454EB7FAD707B4BB158213C457C7@IRSMSX109.ger.corp.intel.com> References: <1505893654-25460-1-git-send-email-slawomirx.mrozowicz@intel.com> <60ABE07DBB3A454EB7FAD707B4BB158213C40F7A@IRSMSX109.ger.corp.intel.com> <60ABE07DBB3A454EB7FAD707B4BB158213C457C7@IRSMSX109.ger.corp.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] examples/performance-thread: fix 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: Fri, 13 Oct 2017 23:14:29 -0000 > > > Overrunning array schedcore of 128 8-byte elements at element index > > 128 > > > using index lcore_id. > > > Fixed by correct check index lcoreid condition and > > > change type of lcoreid to unsigned. > > > > > > Coverity issue: 143459 > > > Fixes: 116819b9ed0d ("examples/performance-thread: add lthread > > > subsystem") > > > Cc: ian.betts@intel.com > > > Cc: stable@dpdk.org > > > > > > Signed-off-by: Slawomir Mrozowicz > > Acked-by: Michal Jastrzebski Applied, thanks