← Back to team overview

touch-packages team mailing list archive

[Bug 937580] Re: Coverity ASSIGN_NOT_RETURNING_STAR_THIS - CID 10635

 

** 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 Ubuntu
Touch seeded packages, which is subscribed to nux in Ubuntu.
https://bugs.launchpad.net/bugs/937580

Title:
  Coverity ASSIGN_NOT_RETURNING_STAR_THIS - CID 10635

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: 10635
  Checker: ASSIGN_NOT_RETURNING_STAR_THIS
  Category: indirect
  CWE definition: No definition available
  File: /tmp/buildd/nux-2.4.0/NuxCore/TinyXML/tinystr.h
  Function: TiXmlString::operator =(const TiXmlString&)
  Code snippet:
  136 
  137   // = operator
  138   TiXmlString &operator = (const TiXmlString &copy)
  139   {
  CID 10635 - ASSIGN_NOT_RETURNING_STAR_THIS
  Assignment operator indirectly returning *this via "this->assign(copy->start(), copy->length())".
  140     return assign (copy.start(), copy.length() );
  141   }
  142 
  143 
  144   // += operator. Maps to append
  145   TiXmlString &operator += (const char *suffix)

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