[dpdk-dev] [PATCH 2/5] example_ip_pipeline: avoid strncpy issue

2015-09-10 Thread Bruce Richardson
On Mon, Aug 31, 2015 at 06:59:03PM -0700, Stephen Hemminger wrote: > If name is so long that it fills buffer, then string would not > be null terminated. > > Signed-off-by: Stephen Hemminger > --- > examples/ip_pipeline/config_parse_tm.c | 4 +++- > 1 file changed, 3 insertions(+), 1

[dpdk-dev] [PATCH 2/5] example_ip_pipeline: avoid strncpy issue

2015-09-09 Thread Dumitrescu, Cristian
> -Original Message- > From: Stephen Hemminger [mailto:stephen at networkplumber.org] > Sent: Tuesday, September 1, 2015 4:59 AM > To: Dumitrescu, Cristian > Cc: dev at dpdk.org; Stephen Hemminger > Subject: [PATCH 2/5] example_ip_pipeline: avoid strncpy issue > > If name is so long

[dpdk-dev] [PATCH 2/5] example_ip_pipeline: avoid strncpy issue

2015-08-31 Thread Stephen Hemminger
If name is so long that it fills buffer, then string would not be null terminated. Signed-off-by: Stephen Hemminger --- examples/ip_pipeline/config_parse_tm.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/ip_pipeline/config_parse_tm.c