> -----Original Message-----
> From: De Lara Guarch, Pablo
> Sent: Monday, January 29, 2018 9:22 AM
> To: Zhang, Roy Fan <roy.fan.zh...@intel.com>
> Cc: dev@dpdk.org; Richardson, Bruce <bruce.richard...@intel.com>; De
> Lara Guarch, Pablo <pablo.de.lara.gua...@intel.com>; sta...@dpdk.org
> Subject: [PATCH v2] crypto/scheduler: fix strncpy
>
> 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
>
> Signed-off-by: Pablo de Lara <pablo.de.lara.gua...@intel.com>
> ---
>
> v2:
> - Replaced strncpy with snprintf
Acked-by: Fan Zhang <roy.fan.zh...@intel.com>