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. > > Cc: [email protected] > Cc: [email protected] > Cc: [email protected] > > Fixes: 2deb6b5246d7 ("app/procinfo: add collectd format and host id") > Fixes: 8a37f37fc243 ("app/procinfo: add --show-port") > Reported-by: Reshma Pattan <[email protected]> > Signed-off-by: Ciara Power <[email protected]> > --- +1 for using strlcpy over strncpy
Acked-by: Bruce Richardson <[email protected]>

