Re: [PATCH v3] net/mvneta: fix possible out-of-bounds write

2024-10-24 Thread Jerin Jacob
On Thu, Oct 10, 2024 at 6:40 AM Stephen Hemminger wrote: > > On Thu, 10 Oct 2024 00:53:26 + > Chengwen Feng wrote: > > > The mvneta_ifnames_get() function will save 'iface' value to ifnames, > > it will out-of-bounds write if passed many iface pairs (e.g. > > 'iface=xxx,iface=xxx,...'). > > >

Re: [PATCH v3] net/mvneta: fix possible out-of-bounds write

2024-10-09 Thread Stephen Hemminger
On Thu, 10 Oct 2024 00:53:26 + Chengwen Feng wrote: > The mvneta_ifnames_get() function will save 'iface' value to ifnames, > it will out-of-bounds write if passed many iface pairs (e.g. > 'iface=xxx,iface=xxx,...'). > > Fixes: 4ccc8d770d3b ("net/mvneta: add PMD skeleton") > Cc: sta...@dpdk.

[PATCH v3] net/mvneta: fix possible out-of-bounds write

2024-10-09 Thread Chengwen Feng
The mvneta_ifnames_get() function will save 'iface' value to ifnames, it will out-of-bounds write if passed many iface pairs (e.g. 'iface=xxx,iface=xxx,...'). Fixes: 4ccc8d770d3b ("net/mvneta: add PMD skeleton") Cc: sta...@dpdk.org Signed-off-by: Chengwen Feng Acked-by: Ferruh Yigit --- v3: fi