examples/ip_pipeline: fix out-of-bounds write
PATCH 1/1 examples/ip_pipeline: fix out-of-bounds write
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.
--- examples/ip_pipeline/app.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
examples/ip_pipeline/app.h +1 -1
@@ -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
Signature · 1 line
1.9.1
Quoted 36 lines
-----Original Message-----
From: Kerlin, MarcinX
Sent: Thursday, April 14, 2016 10:54 AM
To: [email protected]
Cc: Dumitrescu, Cristian <[email protected]>; Kerlin, MarcinX <[email protected]>
Subject: [PATCH] examples/ip_pipeline: fix out-of-bounds writeCID 124567:
In the functionapp_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 <[email protected]>--- examples/ip_pipeline/app.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)examples/ip_pipeline/app.h +1
-2@@ -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 --
Quoted 1 line
1.9.1
Thomas Monjalon
AppliedQuoted 10 lines
Quoted 8 lines
CID 124567:
In the functionapp_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 <[email protected]>
Applied, thanks