git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d532ddc
)
examples/ip_pipeline: fix options array overflow
author
Marcin Kerlin
<marcinx.kerlin@intel.com>
Thu, 14 Apr 2016 09:53:47 +0000
(11:53 +0200)
committer
Thomas Monjalon
<thomas.monjalon@6wind.com>
Mon, 16 May 2016 19:01:51 +0000
(21:01 +0200)
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
patch
|
blob
|
history
diff --git
a/examples/ip_pipeline/app.h
b/examples/ip_pipeline/app.h
index
55a9841
..
e775024
100644
(file)
--- 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