Re: [dpdk-dev] [PATCH] lib/librte_pipeline:fix the array index out of bound

2017-09-20 Thread Dumitrescu, Cristian
> -Original Message- > From: Rongqiang XIE [mailto:xie.rongqi...@zte.com.cn] > Sent: Wednesday, August 23, 2017 8:06 AM > To: Dumitrescu, Cristian > Cc: dev@dpdk.org; Rongqiang XIE > Subject: [PATCH] lib/librte_pipeline:fix the array index out of bound > > In function rte_pipeline_comp

Re: [dpdk-dev] [PATCH] lib/librte_pipeline:fix the array index out of bound

2017-09-04 Thread Singh, Jasvinder
Hi Xie, -Original Message- From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Rongqiang XIE Sent: Wednesday, August 23, 2017 8:06 AM To: Dumitrescu, Cristian Cc: dev@dpdk.org; Rongqiang XIE Subject: [dpdk-dev] [PATCH] lib/librte_pipeline:fix the array index out of bound In function

[dpdk-dev] [PATCH] lib/librte_pipeline:fix the array index out of bound

2017-08-23 Thread Rongqiang XIE
In function rte_pipeline_compute_masks(), the value pos equal p->entries[i]->action,type constraint p->entries[i]->action is [0,4],but array action_mask1 size is 4,it possible attempt to access element 4 of array action_mask1.And also in function rte_pipeline_run(),it possible attempt to access ele