From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [dpdk-stable] [PATCH] test/reorder: fix out of bound access Date: Wed, 14 Nov 2018 04:55:00 +0100 Message-ID: <3031236.M709PSnAie@xps> References: <20181113233137.7570-1-ferruh.yigit@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: stable@dpdk.org, Reshma Pattan , dev@dpdk.org To: Ferruh Yigit Return-path: In-Reply-To: <20181113233137.7570-1-ferruh.yigit@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" 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