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: [email protected]
> 
> Signed-off-by: Radu Nicolau <[email protected]>
> ---
Acked-by: Bruce Richardson <[email protected]>

Reply via email to