Re: [dpdk-dev] [PATCH v2] crypto/scheduler: fix strncpy

2018-01-31 Thread Thomas Monjalon
> > The coverity issue was not completely fixed, since strncpy should not be > > called with max length. > > Instead, snprintf is used as a safer option. > > > > Coverity issue: 143431 > > Fixes: d040aca67170 ("crypto/scheduler: fix strings not null terminated") > > Cc: sta...@dpdk.org > > > > Si

Re: [dpdk-dev] [PATCH v2] crypto/scheduler: fix strncpy

2018-01-30 Thread Zhang, Roy Fan
> -Original Message- > From: De Lara Guarch, Pablo > Sent: Monday, January 29, 2018 9:22 AM > To: Zhang, Roy Fan > Cc: dev@dpdk.org; Richardson, Bruce ; De > Lara Guarch, Pablo ; sta...@dpdk.org > Subject: [PATCH v2] crypto/scheduler: fix strncpy > > The coverity issue was not completel