From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 6CE56475D for ; Thu, 28 Apr 2016 12:49:57 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga103.fm.intel.com with ESMTP; 28 Apr 2016 03:49:55 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,546,1455004800"; d="scan'208";a="693666246" Received: from irsmsx154.ger.corp.intel.com ([163.33.192.96]) by FMSMGA003.fm.intel.com with ESMTP; 28 Apr 2016 03:49:56 -0700 Received: from irsmsx111.ger.corp.intel.com (10.108.20.4) by IRSMSX154.ger.corp.intel.com (163.33.192.96) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 28 Apr 2016 11:49:53 +0100 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.238]) by irsmsx111.ger.corp.intel.com ([169.254.2.16]) with mapi id 14.03.0248.002; Thu, 28 Apr 2016 11:49:53 +0100 From: "Dumitrescu, Cristian" To: "Kerlin, MarcinX" , "dev@dpdk.org" Thread-Topic: [PATCH] examples/ip_pipeline: fix out-of-bounds write Thread-Index: AQHRlimNHqt1acpNVEGUmdfLB56xa5+fSuhw Date: Thu, 28 Apr 2016 10:49:52 +0000 Message-ID: <3EB4FA525960D640B5BDFFD6A3D89126479A6E2B@IRSMSX108.ger.corp.intel.com> References: <1460627627-1990-1-git-send-email-marcinx.kerlin@intel.com> In-Reply-To: <1460627627-1990-1-git-send-email-marcinx.kerlin@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMzFhM2IxYmUtMzk1Zi00OTU3LWE4NDMtNTEzN2Q5NjQ4YzYwIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IkdYNmtTSCtCQ3JQMHRJN2tldlU0MzdMYXBTdjZxaGFWTG84WVlXMzZ1bkk9In0= x-ctpclassification: CTP_IC x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] examples/ip_pipeline: fix out-of-bounds write X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Apr 2016 10:49:57 -0000 > -----Original Message----- > From: Kerlin, MarcinX > Sent: Thursday, April 14, 2016 10:54 AM > To: dev@dpdk.org > Cc: Dumitrescu, Cristian ; Kerlin, MarcinX > > Subject: [PATCH] examples/ip_pipeline: fix out-of-bounds write >=20 > CID 124567: > In the function app_init_eal(struct app params * app) number of > entries into array exceeds the size of the array if the conditions > are fulfilled. >=20 > Fixes: 7f64b9c004aa ("examples/ip_pipeline: rework config file syntax") >=20 > Signed-off-by: Marcin Kerlin > --- > examples/ip_pipeline/app.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/examples/ip_pipeline/app.h b/examples/ip_pipeline/app.h > index 55a9841..e775024 100644 > --- a/examples/ip_pipeline/app.h > +++ b/examples/ip_pipeline/app.h > @@ -415,7 +415,7 @@ struct app_eal_params { > #endif >=20 > #ifndef APP_EAL_ARGC > -#define APP_EAL_ARGC 32 > +#define APP_EAL_ARGC 64 > #endif >=20 > #ifndef APP_MAX_PIPELINE_TYPES > -- > 1.9.1 Acked-by: Cristian Dumitrescu