numam-dpdk/app
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
..
pdump app: add all remaining apps to meson build 2018-03-12 16:29:27 +01:00
proc-info app/procinfo: fix strncpy usage in args parsing 2018-03-28 00:35:37 +02:00
test-bbdev app: add all remaining apps to meson build 2018-03-12 16:29:27 +01:00
test-crypto-perf app: add all remaining apps to meson build 2018-03-12 16:29:27 +01:00
test-eventdev app: generalize meson build 2018-03-12 16:29:27 +01:00
test-pmd build: add meson support for dpaaX platforms 2018-03-15 17:50:02 +01:00
Makefile app/procinfo: rename folder to remove underscore 2018-03-12 16:29:27 +01:00
meson.build app: add all remaining apps to meson build 2018-03-12 16:29:27 +01:00