On Thu, Sep 26, 2019 at 4:44 PM Bruce Richardson <bruce.richard...@intel.com> wrote: > > On Thu, Sep 26, 2019 at 04:11:59PM +0100, Ciara Power wrote: > > Replaced strncpy and strcpy with strlcpy. > > Also replaced snprintf with strlcpy where applicable. > > Using strlcpy is safe practice when copying strings, > > as it will include a null terminator. > > > > > > Fixes: 2deb6b5246d7 ("app/procinfo: add collectd format and host id") > > Fixes: 8a37f37fc243 ("app/procinfo: add --show-port") > > Cc: sta...@dpdk.org
> > Reported-by: Reshma Pattan <reshma.pat...@intel.com> > > Signed-off-by: Ciara Power <ciara.po...@intel.com> > > --- > Acked-by: Bruce Richardson <bruce.richard...@intel.com> Applied, thanks. -- David Marchand