[dpdk-dev] [PATCH v2] crypto/scheduler: fix strncpy
Thomas Monjalon
thomas at monjalon.net
Wed Jan 31 19:01:20 CET 2018
> > 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: stable at dpdk.org
> >
> > Signed-off-by: Pablo de Lara <pablo.de.lara.guarch at intel.com>
> > ---
> >
> > v2:
> > - Replaced strncpy with snprintf
>
> Acked-by: Fan Zhang <roy.fan.zhang at intel.com>
Applied, thanks
More information about the dev
mailing list