10/05/2018 15:31, Bruce Richardson: > On Thu, May 10, 2018 at 01:05:44PM +0100, Reshma Pattan wrote: > > Use strlcpy instead of strncpy. > > > > Fixes: db75c7af19 ("examples/vhost_scsi: introduce a new sample app") > > CC: sta...@dpdk.org > > > > Signed-off-by: Reshma Pattan <reshma.pat...@intel.com> > > --- > > v2: replace magic numbers with sizeof() wherever possible. > > --- > > examples/vhost_scsi/scsi.c | 14 +++++++++----- > > examples/vhost_scsi/scsi_spec.h | 2 +- > > 2 files changed, 10 insertions(+), 6 deletions(-) > > > Looks better now, thanks. > Acked-by: Bruce Richardson <bruce.richard...@intel.com>
Applied, thanks