Re: [dpdk-dev] [PATCH v2] lib/cfgfile: replace strcat with strlcat

2019-04-05 Thread Thomas Monjalon
27/03/2019 12:37, Ferruh Yigit: > On 3/26/2019 10:04 AM, Chaitanya Babu, TalluriX wrote: > > From: Yigit, Ferruh > >> On 3/8/2019 2:02 PM, Bruce Richardson wrote: > >>> On Fri, Mar 08, 2019 at 12:45:50PM +, Chaitanya Babu Talluri wrote: > Replace strcat with strlcat to avoid buffer overflo

Re: [dpdk-dev] [PATCH v2] lib/cfgfile: replace strcat with strlcat

2019-03-27 Thread Ferruh Yigit
On 3/26/2019 10:04 AM, Chaitanya Babu, TalluriX wrote: > Hi > >> -Original Message- >> From: Yigit, Ferruh >> Sent: Friday, March 8, 2019 11:01 PM >> To: Richardson, Bruce ; Chaitanya Babu, TalluriX >> >> Cc: dev@dpdk.org; Pattan, Reshma ; >> Parthasarathy, JananeeX M ; >> Dumitrescu, Cr

Re: [dpdk-dev] [PATCH v2] lib/cfgfile: replace strcat with strlcat

2019-03-08 Thread Ferruh Yigit
On 3/8/2019 2:02 PM, Bruce Richardson wrote: > On Fri, Mar 08, 2019 at 12:45:50PM +, Chaitanya Babu Talluri wrote: >> Replace strcat with strlcat to avoid buffer overflow. >> >> Fixes: a6a47ac9c2 ("cfgfile: rework load function") >> Cc: sta...@dpdk.org >> >> Signed-off-by: Chaitanya Babu Tallur

Re: [dpdk-dev] [PATCH v2] lib/cfgfile: replace strcat with strlcat

2019-03-08 Thread Bruce Richardson
On Fri, Mar 08, 2019 at 12:45:50PM +, Chaitanya Babu Talluri wrote: > Replace strcat with strlcat to avoid buffer overflow. > > Fixes: a6a47ac9c2 ("cfgfile: rework load function") > Cc: sta...@dpdk.org > > Signed-off-by: Chaitanya Babu Talluri > --- > v2: Instead of strcat, used strlcat. > -

[dpdk-dev] [PATCH v2] lib/cfgfile: replace strcat with strlcat

2019-03-08 Thread Chaitanya Babu Talluri
Replace strcat with strlcat to avoid buffer overflow. Fixes: a6a47ac9c2 ("cfgfile: rework load function") Cc: sta...@dpdk.org Signed-off-by: Chaitanya Babu Talluri --- v2: Instead of strcat, used strlcat. --- lib/librte_cfgfile/rte_cfgfile.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion