From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcin Kerlin Subject: [PATCH] examples/ip_pipeline: fix out-of-bounds write Date: Thu, 14 Apr 2016 11:53:47 +0200 Message-ID: <1460627627-1990-1-git-send-email-marcinx.kerlin@intel.com> Cc: cristian.dumitrescu@intel.com, Marcin Kerlin To: dev@dpdk.org 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) List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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