Nux

Coverity MISSING_ASSIGN - CID 10642

Bug #937569 reported by Product Strategy Coverity Bug Uploader
6
This bug affects 1 person
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://wiki.ubuntu.com/CanonicalProductStrategy/Coverity
CID: 10642
Checker: MISSING_ASSIGN
Category: No category available
CWE definition: No definition available
File: /tmp/buildd/nux-2.4.0/NuxCore/TinyXML/tinystr.h
Function: TiXmlString::operator =(const 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 &copy)
139 {
140 return assign (copy.start(), copy.length() );
141 }
142
143

Related branches

Revision history for this message
Product Strategy Coverity Bug Uploader (coverity-uploader) wrote : nux-trunk: /tmp/buildd/nux-2.4.0/NuxCore/TinyXML/tinystr.h

Source file with Coverity annotations.

Changed in nux:
importance: Undecided → Medium
Changed in nux (Ubuntu):
status: New → Fix Released
importance: Undecided → Medium
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.