From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by dpdk.org (Postfix) with ESMTP id CE0992B94; Wed, 14 Nov 2018 04:55:02 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 62E3C23135; Tue, 13 Nov 2018 22:55:02 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Tue, 13 Nov 2018 22:55:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=V2nmoELKr9cDn/whls+aztoosSNauhmsX1N/WeZbwVg=; b=hl/J4PSvhRaJ SjU1iXGALyszjMa/bcdwUitYL5djlkSsk1pN53lkTGyzwblm6mWAjWrFtu6LTciF wFRqYyfiZkT30fz/ZxMd0OnuA9roGddSBNUkd7BtoIlNIiSpG+O4BgPLWicPzqFT UJvC9xHACbSNxpamjU1m0i/EN9n9esE= 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-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=V2nmoELKr9cDn/whls+aztoosSNauhmsX1N/WeZbw Vg=; b=GtK2qfVb2PAtB1ttXkzr+AhdL2kUp35ZBMZgGkalfLwRdTa7Zf5gRaboC +QPQHF42QM8IyzbNylgnboUCWzlvRL12JKsdzxmTJRzgM71j9JI0MfcFZqWc7+Cs CKfft3NU4fSq2qJ/Lo250XIDuWmAipTN0ACrE2sCndoR9ZB06baNWeEC3hcLCSpU hBVWUHKqKEiKFY5wyYbTWwBTfq8wAuocE56idwW51rmYgsbyKyq2ib+0nAnE+GKS VYVn/SUDx3KNaNoNiXCiuFxptF71B6JhFUz1O99qCRf9X7Cgw1tVchagX+7dwQa7 vs+0TIdy3BklziwcbyFafQAQLAw+g== X-ME-Sender: X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 98178E40E6; Tue, 13 Nov 2018 22:55:01 -0500 (EST) From: Thomas Monjalon To: Ferruh Yigit Cc: stable@dpdk.org, Reshma Pattan , dev@dpdk.org Date: Wed, 14 Nov 2018 04:55:00 +0100 Message-ID: <3031236.M709PSnAie@xps> In-Reply-To: <20181113233137.7570-1-ferruh.yigit@intel.com> References: <20181113233137.7570-1-ferruh.yigit@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/reorder: fix out of bound access 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, 14 Nov 2018 03:55:03 -0000 14/11/2018 00:31, Ferruh Yigit: > The value of array index 'i' is out of bound because of the previous > loop it has been used. > > Assuming intention is using '0' since the check before free is robufs[0] > check, fixing according. > > Fixes: ecd867faa860 ("test/reorder: fix freeing mbuf twice") > Cc: stable@dpdk.org > > Signed-off-by: Ferruh Yigit Applied, thanks