numam-dpdk/lib/librte_cryptodev
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 cryptodev: restore crypto op alignment and layout 2019-03-22 14:27:46 +01:00
meson.build cryptodev: restore crypto op alignment and layout 2019-03-22 14:27:46 +01:00
rte_crypto_asym.h cryptodev: add result field to mod exp and inv 2019-03-22 14:27:46 +01:00
rte_crypto_sym.h cryptodev: remove XTS comment duplication 2019-03-22 15:54:24 +01:00
rte_crypto.h cryptodev: support asymmetric operations 2018-07-11 03:57:25 +02:00
rte_cryptodev_pmd.c replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
rte_cryptodev_pmd.h cryptodev: update symmetric session structure 2019-01-10 16:57:22 +01:00
rte_cryptodev_version.map cryptodev: add sym session header size function 2019-01-10 16:57:22 +01:00
rte_cryptodev.c replace snprintf with strlcpy without adding extra include 2019-04-04 22:45:54 +02:00
rte_cryptodev.h cryptodev: add RSA private key feature flag 2019-04-02 16:50:24 +02:00