Coverity issues in contrail-controller/cfg_mirror.cc
Bug #1770158 reported by
Anda-Maria Nicolae
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R5.0 |
Fix Committed
|
Undecided
|
Anda-Maria Nicolae | |||
Trunk |
Fix Committed
|
Undecided
|
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-
- Variable entry going out of scope leaks the storage it points to in cfg_mirror.
- Variable entry going out of scope leaks the storage it points to in cfg_mirror.
Indeed, in both functions listed above, variable entry is not freed on else branch.
tags: | added: contrail-control |
To post a comment you must log in.
Review in progress for https:/ /review. opencontrail. org/42899
Submitter: Anda Nicolae (<email address hidden>)