cfgfile: replace strcat with strlcat
authorChaitanya Babu Talluri <tallurix.chaitanya.babu@intel.com>
Fri, 8 Mar 2019 12:45:50 +0000 (12:45 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 5 Apr 2019 12:48:15 +0000 (14:48 +0200)
commitbb411b952d6c70dc93de22aa3d092e385239de6c
treed069d0c5ba54fbaa1758894ca2d21203e5a59bb7
parent560a3580ba72c306f32168d29490f6f918090d76
cfgfile: replace strcat with strlcat

Replace strcat with strlcat to avoid buffer overflow.

Fixes: a6a47ac9c2 ("cfgfile: rework load function")
Cc: stable@dpdk.org
Signed-off-by: Chaitanya Babu Talluri <tallurix.chaitanya.babu@intel.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
lib/librte_cfgfile/rte_cfgfile.c