Coverity MISSING_ASSIGN - CID 10642
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Nux | Status tracked in 4.0 | |||||
4.0 |
Fix Released
|
Medium
|
Unassigned | |||
nux (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
This bug is exported from the Coverity Integration Manager on Canonical's servers. For information on how this is done please see this website: https:/
CID: 10642
Checker: MISSING_ASSIGN
Category: No category available
CWE definition: No definition available
File: /tmp/buildd/
Function: TiXmlString:
Code snippet:
134 return assign ( copy, (size_type) strlen (copy) );
135 }
136
137 // = operator
CID 10642 - MISSING_ASSIGN
Class "TiXmlString" owns resources that are managed in its constructor and destructor but this assignment operator does not manage them properly.
138 TiXmlString &operator = (const TiXmlString ©)
139 {
140 return assign (copy.start(), copy.length() );
141 }
142
143
Related branches
- Jay Taoko (community): Needs Fixing
-
Diff: 6928 lines (+10/-6815)10 files modifiedNux/Theme.cpp (+1/-1)
NuxCore/Makefile.am (+1/-13)
NuxCore/TinyXML/tinystr.cpp (+0/-142)
NuxCore/TinyXML/tinystr.h (+0/-396)
NuxCore/TinyXML/tinyxml.cpp (+0/-2103)
NuxCore/TinyXML/tinyxml.h (+0/-2264)
NuxCore/TinyXML/tinyxmlerror.cpp (+0/-75)
NuxCore/TinyXML/tinyxmlparser.cpp (+0/-1819)
configure.ac (+7/-1)
tools/unity_support_test.c (+1/-1)
Changed in nux (Ubuntu): | |
status: | New → Fix Released |
importance: | Undecided → Medium |
Source file with Coverity annotations.