← Back to team overview

dx-packages team mailing list archive

[Bug 937569] Re: Coverity MISSING_ASSIGN - CID 10642

 

** Changed in: nux (Ubuntu)
       Status: New => Fix Released

** Changed in: nux (Ubuntu)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to nux in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/937569

Title:
  Coverity MISSING_ASSIGN - CID 10642

Status in Nux:
  Fix Released
Status in Nux 4.0 series:
  Fix Released
Status in nux package in Ubuntu:
  Fix Released

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/nux/+bug/937569/+subscriptions