Coverity issues in contrail-analytics/QEOpServerProxy.cc

Bug #1770148 reported by Anda Nicolae on 2018-05-09
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R5.0
Fix Committed
Medium
Anda Nicolae
Trunk
Fix Committed
Medium
Anda 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

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

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

Jeba Paulaiyan (jebap) on 2018-05-10
tags: added: analytics

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>

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  Edit
Everyone can see this information.

Other bug subscribers