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

2024-10-08 Thread zhoumin
Recheck-request: loongarch-compilation -- Just for a test, please ignore.

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

2024-10-08 Thread Stephen Hemminger
On Wed, 9 Oct 2024 02:23:42 + 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.o

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

2024-10-08 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 --- driver