From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [dpdk-stable] [PATCH] test: fix uninitialized parameter in table autotest Date: Thu, 18 Jan 2018 00:28:35 +0100 Message-ID: <24478174.xSfu99Pj7n@xps> References: <846bcc6aa9ec715cc750949e08b80f07341a91fa.1513865562.git.anatoly.burakov@intel.com> <3EB4FA525960D640B5BDFFD6A3D891267BAFBBCA@IRSMSX108.ger.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: stable@dpdk.org, "Dumitrescu, Cristian" , "dev@dpdk.org" , "Kerlin, Marcin" To: "Burakov, Anatoly" Return-path: In-Reply-To: <3EB4FA525960D640B5BDFFD6A3D891267BAFBBCA@IRSMSX108.ger.corp.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" > > 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