Reviewed: https://review.opencontrail.org/43910 Committed: http://github.com/Juniper/contrail-controller/commit/c2f0bfa58a3e8823b8d2e6da4bbcd0165db7b21e Submitter: Zuul v3 CI (<email address hidden>) Branch: R5.0
commit c2f0bfa58a3e8823b8d2e6da4bbcd0165db7b21e Author: Anda Nicolae <email address hidden> Date: Mon Jun 18 12:15:59 2018 +0300
Coverity issue in contrail-controller/physical_port_ovsdb.cc
I have run Coverity on branch R5.0 and it reported the following issue in contrail-controller/physical_port_ovsdb.cc:EntryOvsdbUpdate()
uninit_use_in_call: Using uninitialized value key->table_ when calling VlanPortBindingEntry.
Solution is to modify in the first 2 constructors for VlanPortBindingEntry() to call OvsdbDBEntry(table) instead of OvsdbDBEntry(table_).
Change-Id: Ic82b315e9f880cb5129e67f3a74e4004b9474bfd Closes-Bug: #1777400 Signed-off-by: Anda Nicolae <email address hidden>
Reviewed: https:/ /review. opencontrail. org/43910 github. com/Juniper/ contrail- controller/ commit/ c2f0bfa58a3e882 3b8d2e6da4bbcd0 165db7b21e
Committed: http://
Submitter: Zuul v3 CI (<email address hidden>)
Branch: R5.0
commit c2f0bfa58a3e882 3b8d2e6da4bbcd0 165db7b21e
Author: Anda Nicolae <email address hidden>
Date: Mon Jun 18 12:15:59 2018 +0300
Coverity issue in contrail- controller/ physical_ port_ovsdb. cc
I have run Coverity on branch R5.0 and it reported controller/ physical_ port_ovsdb. cc:EntryOvsdbUp date()
the following issue in
contrail-
uninit_use_in_call: Using uninitialized value Entry.
key->table_ when calling VlanPortBinding
Solution is to modify in the first 2 constructors for Entry() to call OvsdbDBEntry(table) table_) .
VlanPortBinding
instead of OvsdbDBEntry(
Change-Id: Ic82b315e9f880c b5129e67f3a74e4 004b9474bfd
Closes-Bug: #1777400
Signed-off-by: Anda Nicolae <email address hidden>