Coverity issues in VmFlowRef constructor

Bug #1773354 reported by Andrei Bunghez on 2018-05-25
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

Review in progress for https://review.opencontrail.org/43300
Submitter: Andrei Bunghez (<email address hidden>)

Review in progress for https://review.opencontrail.org/43301
Submitter: Andrei Bunghez (<email address hidden>)

Jeba Paulaiyan (jebap) on 2018-06-01
tags: added: vrouter

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

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

Other bug subscribers