From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] eal: fix build with gcc 4.7 Date: Wed, 18 Jul 2018 11:02:57 +0200 Message-ID: <2610547.2gRZgHEtPl@xps> References: <20180716062627.29814-1-pablo.de.lara.guarch@intel.com> <20180716205223.otemie3e2o3lytg4@bidouze.vm.6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Cc: dev@dpdk.org, =?ISO-8859-1?Q?Ga=EBtan?= Rivet To: Pablo de Lara Return-path: Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id 279C12965 for ; Wed, 18 Jul 2018 11:03:03 +0200 (CEST) In-Reply-To: <20180716205223.otemie3e2o3lytg4@bidouze.vm.6wind.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" 16/07/2018 22:52, Ga=C3=ABtan Rivet: > Hi Pablo, >=20 > On Mon, Jul 16, 2018 at 07:26:27AM +0100, Pablo de Lara wrote: > > Fixed possible out-of-bounds issue: > >=20 > > lib/librte_eal/common/eal_common_devargs.c: > > In function =E2=80=98rte_devargs_layers_parse=E2=80=99: > > lib/librte_eal/common/eal_common_devargs.c:121:7: > > error: array subscript is above array bounds > >=20 > > Bugzilla ID: 71 > > Fixes: 338327d731e6 ("devargs: add function to parse device layers") > >=20 >=20 > Thanks for fixing this. >=20 > > Signed-off-by: Pablo de Lara > Acked-by: Gaetan Rivet Applied, thanks