numam-dpdk/lib/librte_compressdev
Bruce Richardson 6723c0fc72 replace snprintf with strlcpy
Do a global replace of snprintf(..."%s",...) with strlcpy, adding in the
rte_string_fns.h header if needed.  The function changes in this patch were
auto-generated via command:

  spatch --sp-file devtools/cocci/strlcpy.cocci --dir . --in-place

and then the files edited using awk to add in the missing header:

  gawk -i inplace '/include <rte_/ && ! seen { \
  	print "#include <rte_string_fns.h>"; seen=1} {print}'

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
2019-04-04 22:46:05 +02:00
..
Makefile compressdev: add operation management 2018-05-10 17:46:19 +01:00
meson.build compressdev: add operation management 2018-05-10 17:46:19 +01:00
rte_comp.c compressdev: add bulk free operation API 2018-12-19 11:19:10 +01:00
rte_comp.h compressdev: fix structure comment 2018-12-19 11:19:10 +01:00
rte_compressdev_internal.h compressdev: remove unused driver id 2018-05-22 16:36:12 +02:00
rte_compressdev_pmd.c replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
rte_compressdev_pmd.h lib: reduce global variable usage 2018-10-29 02:34:27 +01:00
rte_compressdev_version.map compressdev: add bulk free operation API 2018-12-19 11:19:10 +01:00
rte_compressdev.c replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
rte_compressdev.h compressdev: add flag to specify where processing is done 2019-03-22 15:54:24 +01:00