Re: [EXTERNAL] [PATCH v2] app/graph: fix destination buffer too small

2024-07-06 Thread Mahmoud Matook
Kori ; Rakesh Kudurumalla > > > ; > > > On 06/25, Kiran Kumar Kokkilagadda wrote: > > > > Subject: [EXTERNAL] [PATCH v2] app/graph: fix destination buffer too > > > > small > > > > > > > > as sizeof(config. rx. mempool_name) is &l

Re: [EXTERNAL] [PATCH v2] app/graph: fix destination buffer too small

2024-07-04 Thread David Marchand
Kiran Kumar Kokkilagadda wrote: > > > Subject: [EXTERNAL] [PATCH v2] app/graph: fix destination buffer too > > > small > > > > > > as sizeof(config. rx. mempool_name) is < sizeof(res->mempool) we > > > should copy at most sizeof(config. rx. mempoo

RE: [EXTERNAL] [PATCH v2] app/graph: fix destination buffer too small

2024-06-26 Thread Kiran Kumar Kokkilagadda
> > > > > > From: Mahmoud Maatuq > > Sent: Tuesday, June 25, 2024 1:31 AM > > To: Sunil Kumar Kori ; Rakesh Kudurumalla > > ; Nithin Kumar Dabilpuram > > ; Jerin Jacob > > Cc: dev@dpdk.org; Mahmoud Maatuq > > > Subject: [EXTERNAL] [PATCH v

Re: [EXTERNAL] [PATCH v2] app/graph: fix destination buffer too small

2024-06-26 Thread Mahmoud Matook
On 06/25, Kiran Kumar Kokkilagadda wrote: > > > From: Mahmoud Maatuq > Sent: Tuesday, June 25, 2024 1:31 AM > To: Sunil Kumar Kori ; Rakesh Kudurumalla > ; Nithin Kumar Dabilpuram > ; Jerin Jacob > Cc: dev@dpdk.org; Mahmoud Maatuq > Subject: [EXTERNAL] [PATCH v2]

RE: [EXTERNAL] [PATCH v2] app/graph: fix destination buffer too small

2024-06-24 Thread Kiran Kumar Kokkilagadda
From: Mahmoud Maatuq Sent: Tuesday, June 25, 2024 1:31 AM To: Sunil Kumar Kori ; Rakesh Kudurumalla ; Nithin Kumar Dabilpuram ; Jerin Jacob Cc: dev@dpdk.org; Mahmoud Maatuq Subject: [EXTERNAL] [PATCH v2] app/graph: fix destination buffer too small as sizeof(config. rx. mempool_name) is

[PATCH v2] app/graph: fix destination buffer too small

2024-06-24 Thread Mahmoud Maatuq
as sizeof(config.rx.mempool_name) is < sizeof(res->mempool) we should copy at most sizeof(config.rx.mempool_name) and replace memcpy with strlcpy as mempool name is a null terminated string Coverity issue: 415430 Fixes: 3850cb06ab9c ("app/graph: add ethdev commands") Cc: sk...@marvell.com Signed-