Re: [dpdk-dev] [PATCH] examples/vhost: fix the use of strnlen()

2017-05-10 Thread Thomas Monjalon
05/05/2017 15:59, Gang Jiang: > My name is Gang Jiang. > > 发件人: "Thomas Monjalon" > > 16/04/2017 13:39, jiangg: > > > The return value of strnlen(s, maxlen) is never bigger than maxlen. > > > > > > Signed-off-by: jiangg > > > > Please, could you provide your full name in SoB? > > > > We could

Re: [dpdk-dev] [PATCH] examples/vhost: fix the use of strnlen()

2017-05-05 Thread Gang Jiang
My name is Gang Jiang. > -原始邮件- > 发件人: "Thomas Monjalon" > 发送时间: 2017-05-05 20:11:35 (星期五) > 收件人: jiangg > 抄送: dev@dpdk.org > 主题: Re: [dpdk-dev] [PATCH] examples/vhost: fix the use of strnlen() > > Hi, > > 16/04/2017 13:39, jiangg: > > T

Re: [dpdk-dev] [PATCH] examples/vhost: fix the use of strnlen()

2017-05-05 Thread Thomas Monjalon
Hi, 16/04/2017 13:39, jiangg: > The return value of strnlen(s, maxlen) is never bigger than maxlen. > > Signed-off-by: jiangg Please, could you provide your full name in SoB? We could also add a Fixes: line. Thanks

[dpdk-dev] [PATCH] examples/vhost: fix the use of strnlen()

2017-04-16 Thread jiangg
The return value of strnlen(s, maxlen) is never bigger than maxlen. Signed-off-by: jiangg --- examples/vhost/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/vhost/main.c b/examples/vhost/main.c index aa88733..e07f866 100644 --- a/examples/vhost/main.c +++ b/ex