Re: [dpdk-dev] [PATCH] lib/eventdev: fix null pointer dereferences coverity issue

2019-09-26 Thread Gujjar, Abhinandan S
Hi Chaitanya, This patch is not required. This has to be marked to ignore in coverity. Regards Abhinandan > -Original Message- > From: Chaitanya Babu, TalluriX > Sent: Thursday, September 26, 2019 3:03 PM > To: Gujjar, Abhinandan S ; dev@dpdk.org > Cc: Pattan, Reshma ; Parthasarathy, Jan

Re: [dpdk-dev] [PATCH] lib/eventdev: fix null pointer dereferences coverity issue

2019-09-26 Thread Chaitanya Babu, TalluriX
Hi Abhinandan, >-Original Message- >From: Gujjar, Abhinandan S >Sent: Wednesday, September 25, 2019 11:17 AM >To: Chaitanya Babu, TalluriX ; >dev@dpdk.org >Cc: Pattan, Reshma ; Parthasarathy, JananeeX M >; sta...@dpdk.org >Subject: RE: [PATCH] lib/eventdev: fix null pointer dereferences co

Re: [dpdk-dev] [PATCH] lib/eventdev: fix null pointer dereferences coverity issue

2019-09-24 Thread Gujjar, Abhinandan S
Please find the comments inline > -Original Message- > From: Chaitanya Babu, TalluriX > Sent: Friday, September 20, 2019 12:39 PM > To: dev@dpdk.org > Cc: Pattan, Reshma ; Parthasarathy, JananeeX M > ; Gujjar, Abhinandan S > ; Chaitanya Babu, TalluriX > ; sta...@dpdk.org > Subject: [PATCH]

[dpdk-dev] [PATCH] lib/eventdev: fix null pointer dereferences coverity issue

2019-09-20 Thread Chaitanya Babu Talluri
One issue caught by Coverity 340075 *deref_ptr: Directly dereferencing pointer qp_info. In eca_enq_to_cryptodev() qp_info dereferenced without null check in both session and sessionless crypto ops. The fix is to access qp_info after null check. Coverity issue: 340075 Fixes: 7901eac340 ("eventdev