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
..
2019-03-30 01:12:15 +01:00
2019-03-30 01:12:15 +01:00
2019-02-26 15:29:07 +01:00
2019-04-04 22:45:54 +02:00
2019-04-02 02:22:32 +02:00
2019-04-04 22:46:05 +02:00
2019-03-30 01:12:15 +01:00
2019-04-04 22:45:54 +02:00
2019-03-30 01:12:15 +01:00
2019-03-30 01:12:15 +01:00
2019-03-30 01:12:15 +01:00
2019-03-30 01:12:15 +01:00
2019-03-30 01:12:15 +01:00
2019-04-04 22:45:54 +02:00
2019-03-30 01:12:15 +01:00
2019-04-02 16:50:24 +02:00
2019-03-30 01:12:15 +01:00
2019-03-30 01:12:15 +01:00
2019-03-30 01:12:15 +01:00
2019-03-30 01:12:15 +01:00
2019-04-04 22:46:05 +02:00
2019-03-30 01:12:15 +01:00
2019-03-30 01:12:15 +01:00
2019-03-30 01:12:15 +01:00
2019-03-30 01:12:15 +01:00
2019-04-04 22:45:54 +02:00
2019-03-30 01:12:15 +01:00
2019-03-30 01:12:15 +01:00
2019-03-30 01:12:15 +01:00
2019-04-04 22:45:54 +02:00
2019-04-04 22:45:54 +02:00
2019-03-30 01:12:15 +01:00
2019-03-30 01:12:15 +01:00
2019-03-30 01:12:15 +01:00
2019-03-30 01:12:15 +01:00
2019-03-30 01:12:15 +01:00
2019-03-30 01:12:15 +01:00
2019-03-30 01:12:15 +01:00
2019-03-30 01:12:15 +01:00
2019-03-30 01:12:15 +01:00
2019-03-30 01:12:15 +01:00
2019-04-04 22:45:54 +02:00
2019-03-30 01:12:15 +01:00
2019-03-30 01:12:15 +01:00
2019-04-04 22:45:54 +02:00
2019-03-30 01:12:15 +01:00
2019-04-04 22:45:54 +02:00
2019-04-04 22:46:05 +02:00
2019-03-30 01:12:15 +01:00
2019-03-30 01:12:15 +01:00
2019-04-02 02:22:32 +02:00
2019-04-03 01:21:31 +02:00