25/10/2017 12:07, Jacek Piasecki: > Use snprintf instead strncpy to get safe null string termination. > There was possible to get not terminated string after strncpy operation. > > Coverity issue: 158631 > Fixes: db75c7af19bb ("examples/vhost_scsi: introduce a new sample app") > Cc: changpeng....@intel.com > Cc: sta...@dpdk.org > > Signed-off-by: Jacek Piasecki <jacekx.piase...@intel.com> > Acked-by: Maxime Coquelin <maxime.coque...@redhat.com> > --- > v4: RTE_DIM instead ARRAY_SIZE > v3: checkpatch fix > v2: snprintf instead strncpy
Applied, thanks