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 D20BB2C37 for ; Thu, 14 Apr 2016 10:41:37 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga103.fm.intel.com with ESMTP; 14 Apr 2016 01:41:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,484,1455004800"; d="scan'208";a="954765271" Received: from gklab-246-021.igk.intel.com (HELO HANLANCREEK9755-232) ([10.217.246.21]) by orsmga002.jf.intel.com with SMTP; 14 Apr 2016 01:41:35 -0700 Received: by HANLANCREEK9755-232 (sSMTP sendmail emulation); Thu, 14 Apr 2016 11:53:53 +0200 From: Marcin Kerlin To: dev@dpdk.org Cc: cristian.dumitrescu@intel.com, Marcin Kerlin Date: Thu, 14 Apr 2016 11:53:47 +0200 Message-Id: <1460627627-1990-1-git-send-email-marcinx.kerlin@intel.com> X-Mailer: git-send-email 1.9.1 Subject: [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, 14 Apr 2016 08:41:38 -0000 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. Fixes: 7f64b9c004aa ("examples/ip_pipeline: rework config file syntax") Signed-off-by: Marcin Kerlin --- examples/ip_pipeline/app.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 #ifndef APP_EAL_ARGC -#define APP_EAL_ARGC 32 +#define APP_EAL_ARGC 64 #endif #ifndef APP_MAX_PIPELINE_TYPES -- 1.9.1