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 EF0247260; Thu, 18 Jan 2018 00:29:08 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 8BBC120C94; Wed, 17 Jan 2018 18:29:08 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Wed, 17 Jan 2018 18:29:08 -0500 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=dGMnSLOSmrse9BLCqQGcfmAOR7 t1HIIZkr2z3Y2rG/A=; b=nbUHfPRBf+BXRJtzvR3PHNp+KD5Plg2wqNm9RZWXXr 4x1ErjsW/Rl0gnvlyyhC8GCXC97fGl3hGyCXkHmj6Nq0ysiLt2CYJ8g3wO3EXed7 D9rw0BmtVGGnA4MBdI7z/vWCEJdCT8or+AO8nFggc+CFlTYYydoPlFpcaGYZv/dL 4= 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=dGMnSL OSmrse9BLCqQGcfmAOR7t1HIIZkr2z3Y2rG/A=; b=djbZHSbGJH0hdPmPFuNmyN s6lbKlcBzvleF5rI1PIJlVg0RhBkqVG3VTCkK+Pzu7su1rctD5uCPNav13fIfsyx ahT38NOmPaGBu8iKt2xbnwHWJVF4yN3TzkqEtxq1rzYQcwUH2lDLzCVvpWqN033R kRUh4wrBOwYppTQqciQ/7c82fOt9egBhBQoEdKjJutfSJGapWvG7XfAwZna7ceYw hKjEzaevSEKt9zGJyUlFe/gFvDB4S0E6yNpBse53E7Y6DGyl3jC8zMJfG/eAt0Po +nObdEzxY/v2IFrMgc0lYYKdMfd6mzKwPLfPKdD4t8QCVDCVkXlLnFt+/JtAwy/Q == 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 3FBB4246E6; Wed, 17 Jan 2018 18:29:08 -0500 (EST) From: Thomas Monjalon To: "Burakov, Anatoly" Cc: stable@dpdk.org, "Dumitrescu, Cristian" , "dev@dpdk.org" , "Kerlin, Marcin" Date: Thu, 18 Jan 2018 00:28:35 +0100 Message-ID: <24478174.xSfu99Pj7n@xps> In-Reply-To: <3EB4FA525960D640B5BDFFD6A3D891267BAFBBCA@IRSMSX108.ger.corp.intel.com> References: <846bcc6aa9ec715cc750949e08b80f07341a91fa.1513865562.git.anatoly.burakov@intel.com> <3EB4FA525960D640B5BDFFD6A3D891267BAFBBCA@IRSMSX108.ger.corp.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH] test: fix uninitialized parameter in table autotest 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: Wed, 17 Jan 2018 23:29:09 -0000 > > delete_bulk() copies metadata to pointers provided by the entries > > parameter, but in the unit test, they are uninitialized, leading > > to rte_table attempting to memcpy into random garbage pointers. > > > > Memsetting pointer table to zero will prevent that from happening. > > > > Fixes: 48f2543cf0a8 ("app/test: add bulk adding and deleting") > > Cc: marcinx.kerlin@intel.com > > Cc: stable@dpdk.org > > Signed-off-by: Anatoly Burakov > > Acked-by: Cristian Dumitrescu Applied, thanks