numam-dpdk/app/proc-info
Radu Nicolau f0b9479497 app/procinfo: fix strncpy usage in args parsing
Replace strncpy with snprintf to avoid overwriting the last
NULL character.

Coverity issue: 143252
Fixes: 2deb6b5246 ("app/procinfo: add collectd format and host id")
Cc: stable@dpdk.org

Signed-off-by: Radu Nicolau <radu.nicolau@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
2018-03-28 00:35:37 +02:00
..
main.c app/procinfo: fix strncpy usage in args parsing 2018-03-28 00:35:37 +02:00
Makefile
meson.build app: add all remaining apps to meson build 2018-03-12 16:29:27 +01:00