examples/ip_pipeline: fix options array overflow
authorMarcin Kerlin <marcinx.kerlin@intel.com>
Thu, 14 Apr 2016 09:53:47 +0000 (11:53 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 16 May 2016 19:01:51 +0000 (21:01 +0200)
commit535b969d31a0c833b56c97b8016b6195f3936b8b
tree6bda790635876e7857b051276a500a8f9b1cd0cf
parentd532ddccce0a8ccc350d6b5f9c89faf96fc9f923
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>
examples/ip_pipeline/app.h