Re: [dpdk-dev] [dpdk-stable] [PATCH] net/hinic: fix negative array index read

2020-08-25 Thread Ferruh Yigit
On 8/24/2020 1:54 PM, Ferruh Yigit wrote: > On 8/24/2020 1:43 PM, wangyunjian wrote: >> From: Yunjian Wang >> >> Negative array index read using variable 'i' as an index to array >> 'filter_info->pkt_filters'. Fixed by add return value check. >> >> Coverity issue: 350364 >> Fixes: f4ca3fd54c4d ("n

Re: [dpdk-dev] [dpdk-stable] [PATCH] net/hinic: fix negative array index read

2020-08-24 Thread Ferruh Yigit
On 8/24/2020 1:43 PM, wangyunjian wrote: > From: Yunjian Wang > > Negative array index read using variable 'i' as an index to array > 'filter_info->pkt_filters'. Fixed by add return value check. > > Coverity issue: 350364 > Fixes: f4ca3fd54c4d ("net/hinic: create and destroy flow director filter