On Tue, Feb 20, 2018 at 01:52:22PM +, 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: sta...@dpdk.org
>
> Signed-off-by: Radu Nicolau
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: sta...@dpdk.org
Signed-off-by: Radu Nicolau
---
v3: replaced strncpy with snprintf
app/proc_info/main.c | 2 +-
1 file c
2 matches
Mail list logo