Re: [dpdk-dev] [PATCH] net/ice/base: fix out of memory bound for MAC addresses

2021-03-24 Thread Zhang, Qi Z
> -Original Message- > From: Yang, Qiming > Sent: Thursday, March 18, 2021 10:07 AM > To: Zhang, Qi Z > Cc: dev@dpdk.org; Yigit, Ferruh ; sta...@dpdk.org > Subject: RE: [PATCH] net/ice/base: fix out of memory bound for MAC > addresses > > > > -Original Message- > > From: Zhan

Re: [dpdk-dev] [PATCH] net/ice/base: fix out of memory bound for MAC addresses

2021-03-17 Thread Yang, Qiming
> -Original Message- > From: Zhang, Qi Z > Sent: Wednesday, March 17, 2021 14:02 > To: Yang, Qiming > Cc: dev@dpdk.org; Yigit, Ferruh ; Zhang, Qi Z > ; sta...@dpdk.org > Subject: [PATCH] net/ice/base: fix out of memory bound for MAC addresses > > Not enough memory be allocated for dev-

[dpdk-dev] [PATCH] net/ice/base: fix out of memory bound for MAC addresses

2021-03-16 Thread Qi Zhang
Not enough memory be allocated for dev->data->mac_address which cause out of bound memory access when iterate all mac addresses by dev_info.max_mac_addrs. Fixes: f9cf4f864150 ("net/ice: support device initialization") Cc: sta...@dpdk.org Reported-by: Ferruh Yigit Signed-off-by: Qi Zhang --- dr