Coverity issues in contrail-analytics/QEOpServerProxy.cc

Bug #1770148 reported by Anda-Maria Nicolae
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R5.0
Fix Committed
Medium
Anda-Maria Nicolae
Trunk
Fix Committed
Medium
Anda-Maria Nicolae
OpenContrail
New
Undecided
Unassigned

Bug Description

Hi all,

I have run Coverity on branch R5.0 and it reported the following issues in contrail-analytics/QEOpServerProxy.cc:
- Variable c going out of scope leaks the storage it points to in QEOpServerProxy.cc:QueryError
- Variable c going out of scope leaks the storage it points to in QEOpServerProxy.cc:StartPipeline

Tags: analytics
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R5.0

Review in progress for https://review.opencontrail.org/42893
Submitter: Anda Nicolae (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/42898
Submitter: Anda Nicolae (<email address hidden>)

Jeba Paulaiyan (jebap)
tags: added: analytics
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/42898
Committed: http://github.com/Juniper/contrail-analytics/commit/5e6b0fcef723d6e5d99aa1ff5946c25a436db636
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master

commit 5e6b0fcef723d6e5d99aa1ff5946c25a436db636
Author: Anda Nicolae <email address hidden>
Date: Wed May 9 14:47:03 2018 +0300

Coverity issues in contrail-analytics/QEOpServerProxy.cc

I have run Coverity on branch R5.0 and it reported the following issues in contrail-analytics/QEOpServerProxy.cc:
- Variable c going out of scope leaks the storage it points to in QEOpServerProxy.cc:QueryError
- Variable c going out of scope leaks the storage it points to in QEOpServerProxy.cc:StartPipeline

Change-Id: I119b2d2c2215adcaeb8967c2770809056faa771a
Closes-Bug: #1770148
Signed-off-by: Anda Nicolae <email address hidden>

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/42893
Committed: http://github.com/Juniper/contrail-analytics/commit/d16aa3e5d6625f676ab4a06e7e6bf07c583520eb
Submitter: Zuul v3 CI (<email address hidden>)
Branch: R5.0

commit d16aa3e5d6625f676ab4a06e7e6bf07c583520eb
Author: Anda Nicolae <email address hidden>
Date: Wed May 9 14:47:03 2018 +0300

Coverity issues in contrail-analytics/QEOpServerProxy.cc

I have run Coverity on branch R5.0 and it reported the following issues in contrail-analytics/QEOpServerProxy.cc:
- Variable c going out of scope leaks the storage it points to in QEOpServerProxy.cc:QueryError
- Variable c going out of scope leaks the storage it points to in QEOpServerProxy.cc:StartPipeline

Change-Id: I119b2d2c2215adcaeb8967c2770809056faa771a
Closes-Bug: #1770148
Signed-off-by: Anda Nicolae <email address hidden>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.