Coverity issues in VmFlowRef constructor

Bug #1773354 reported by Andrei Bunghez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R5.0
Fix Committed
Medium
Andrei Bunghez
Trunk
Fix Committed
Medium
Andrei Bunghez
OpenContrail
New
Undecided
Unassigned

Bug Description

Hi,

contrail-controller R5.0
Coverity reports the following issues in the VmFlowRef(const VmFlowRef &rhs) constructor:

Using uninitialized value this->fd_(59780)
Non-static class member fd_ is not initialized in this constructor nor in any functions that it calls.
Non-static class member port_ is not initialized in this constructor nor in any functions that it calls.
Non-static class member flow_ is not initialized in this constructor nor in any functions that it calls. (59794).

Cheers,
Andrei

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

Review in progress for https://review.opencontrail.org/43300
Submitter: Andrei Bunghez (<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/43301
Submitter: Andrei Bunghez (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/43301
Committed: http://github.com/Juniper/contrail-controller/commit/7b3dfe05b30187ab47dd194e9810a3ea7b297125
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master

commit 7b3dfe05b30187ab47dd194e9810a3ea7b297125
Author: Andrei Bunghez <email address hidden>
Date: Fri May 25 11:55:12 2018 +0000

Coverity issues in VmFlowRef constructor

Coverity reports the following issues in the VmFlowRef(const VmFlowRef &rhs) constructor:

Using uninitialized value this->fd_(59780)
Non-static class member fd_ is not initialized in this constructor nor in any functions that it calls.
Non-static class member port_ is not initialized in this constructor nor in any functions that it calls.
Non-static class member flow_ is not initialized in this constructor nor in any functions that it calls. (59794).

Change-Id: Iaf29a87a0adc4746559a1ca9ddf3ee4fc6e41136
Closes-Bug: #1773354

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

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

commit 38c8a8edc26d8656eaaafbed56171b52a7a81503
Author: Andrei Bunghez <email address hidden>
Date: Fri May 25 11:55:12 2018 +0000

Coverity issues in VmFlowRef constructor

Coverity reports the following issues in the VmFlowRef(const VmFlowRef &rhs) constructor:

Using uninitialized value this->fd_(59780)
Non-static class member fd_ is not initialized in this constructor nor in any functions that it calls.
Non-static class member port_ is not initialized in this constructor nor in any functions that it calls.
Non-static class member flow_ is not initialized in this constructor nor in any functions that it calls. (59794).

Change-Id: Iaf29a87a0adc4746559a1ca9ddf3ee4fc6e41136
Closes-Bug: #1773354

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.