DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] examples/ip_pipeline: fix out-of-bounds write
@ 2016-04-14  9:53 Marcin Kerlin
  2016-04-28 10:49 ` Dumitrescu, Cristian
  0 siblings, 1 reply; 3+ messages in thread
From: Marcin Kerlin @ 2016-04-14  9:53 UTC (permalink / raw)
  To: dev; +Cc: cristian.dumitrescu, Marcin Kerlin

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.

Fixes: 7f64b9c004aa ("examples/ip_pipeline: rework config file syntax")

Signed-off-by: Marcin Kerlin <marcinx.kerlin@intel.com>
---
 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 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
-- 
1.9.1

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-dev] [PATCH] examples/ip_pipeline: fix out-of-bounds write
  2016-04-14  9:53 [dpdk-dev] [PATCH] examples/ip_pipeline: fix out-of-bounds write Marcin Kerlin
@ 2016-04-28 10:49 ` Dumitrescu, Cristian
  2016-05-16 17:32   ` Thomas Monjalon
  0 siblings, 1 reply; 3+ messages in thread
From: Dumitrescu, Cristian @ 2016-04-28 10:49 UTC (permalink / raw)
  To: Kerlin, MarcinX, dev



> -----Original Message-----
> From: Kerlin, MarcinX
> Sent: Thursday, April 14, 2016 10:54 AM
> To: dev@dpdk.org
> Cc: Dumitrescu, Cristian <cristian.dumitrescu@intel.com>; Kerlin, MarcinX
> <marcinx.kerlin@intel.com>
> Subject: [PATCH] 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.
> 
> Fixes: 7f64b9c004aa ("examples/ip_pipeline: rework config file syntax")
> 
> Signed-off-by: Marcin Kerlin <marcinx.kerlin@intel.com>
> ---
>  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 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
> --
> 1.9.1

Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-dev] [PATCH] examples/ip_pipeline: fix out-of-bounds write
  2016-04-28 10:49 ` Dumitrescu, Cristian
@ 2016-05-16 17:32   ` Thomas Monjalon
  0 siblings, 0 replies; 3+ messages in thread
From: Thomas Monjalon @ 2016-05-16 17:32 UTC (permalink / raw)
  To: Kerlin, MarcinX; +Cc: dev, Dumitrescu, Cristian

> > 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.
> > 
> > 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>

Applied, thanks

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-05-16 17:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-14  9:53 [dpdk-dev] [PATCH] examples/ip_pipeline: fix out-of-bounds write Marcin Kerlin
2016-04-28 10:49 ` Dumitrescu, Cristian
2016-05-16 17:32   ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).