Re: [dpdk-dev] [PATCH] bonding: fix overflow check

2021-04-26 Thread Min Hu (Connor)
在 2021/4/26 23:08, Ferruh Yigit 写道: On 4/22/2021 10:22 AM, Min Hu (Connor) wrote: Buffer 'test_params->slave_port_ids' of size 6 accessed may overflow, since its index 'i' can have value be is out of range. This patch fixed it. Fixes: 92073ef961ee ("bond: unit tests") Cc: sta...@dpdk.org S

Re: [dpdk-dev] [PATCH] bonding: fix overflow check

2021-04-26 Thread Ferruh Yigit
On 4/22/2021 10:22 AM, Min Hu (Connor) wrote: > Buffer 'test_params->slave_port_ids' of size 6 accessed may > overflow, since its index 'i' can have value be is out of range. > > This patch fixed it. > > Fixes: 92073ef961ee ("bond: unit tests") > Cc: sta...@dpdk.org > > Signed-off-by: Min Hu (Co

[dpdk-dev] [PATCH] bonding: fix overflow check

2021-04-22 Thread Min Hu (Connor)
Buffer 'test_params->slave_port_ids' of size 6 accessed may overflow, since its index 'i' can have value be is out of range. This patch fixed it. Fixes: 92073ef961ee ("bond: unit tests") Cc: sta...@dpdk.org Signed-off-by: Min Hu (Connor) --- app/test/test_link_bonding.c | 3 ++- 1 file changed