summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMarcin Kerlin <marcinx.kerlin@intel.com>2016-04-14 11:53:47 +0200
committerThomas Monjalon <thomas.monjalon@6wind.com>2016-05-16 21:01:51 +0200
commit535b969d31a0c833b56c97b8016b6195f3936b8b (patch)
tree6bda790635876e7857b051276a500a8f9b1cd0cf /examples
parentd532ddccce0a8ccc350d6b5f9c89faf96fc9f923 (diff)
downloaddpdk-535b969d31a0c833b56c97b8016b6195f3936b8b.zip
dpdk-535b969d31a0c833b56c97b8016b6195f3936b8b.tar.gz
dpdk-535b969d31a0c833b56c97b8016b6195f3936b8b.tar.xz
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 <marcinx.kerlin@intel.com> Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/ip_pipeline/app.h2
1 files changed, 1 insertions, 1 deletions
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