[dpdk-dev] [dpdk-stable] [PATCH v3] app/procinfo: fix strncpy count issue

Thomas Monjalon thomas at monjalon.net
Wed Mar 28 00:25:06 CEST 2018


20/02/2018 15:16, Bruce Richardson:
> On Tue, Feb 20, 2018 at 01:52:22PM +0000, Radu Nicolau wrote:
> > Replace strncpy with snprintf to avoid overwriting the last
> > NULL character.
> > 
> > Fixes: 2deb6b5246d7 ("app/procinfo: add collectd format and host id")
> > Coverity issue: 143252
> > 
> > Cc: stable at dpdk.org
> > 
> > Signed-off-by: Radu Nicolau <radu.nicolau at intel.com>
> > ---
> Acked-by: Bruce Richardson <bruce.richardson at intel.com>

Applied, thanks




More information about the dev mailing list