From 535b969d31a0c833b56c97b8016b6195f3936b8b Mon Sep 17 00:00:00 2001 From: Marcin Kerlin Date: Thu, 14 Apr 2016 11:53:47 +0200 Subject: [PATCH] examples/ip_pipeline: fix options array overflow 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. Coverity issue: 124567 Fixes: 7f64b9c004aa ("examples/ip_pipeline: rework config file syntax") Signed-off-by: Marcin Kerlin Acked-by: Cristian Dumitrescu --- 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 55a9841775..e775024d86 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 -- 2.20.1