← Back to team overview

touch-packages team mailing list archive

[Bug 937571] Re: Coverity DEADCODE - CID 10640

 

** 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/937571

Title:
  Coverity DEADCODE - CID 10640

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: 10640
  Checker: DEADCODE
  Category: No category available
  CWE definition: http://cwe.mitre.org/data/definitions/561.html
  File: /tmp/buildd/nux-2.4.0/NuxCore/TinyXML/tinyxmlparser.cpp
  Function: TiXmlDocument::Parse(const char *, TiXmlParsingData *, TiXmlEncoding)
  Code snippet:
  829   while ( p && *p )
  830   {
  831     TiXmlNode *node = Identify ( p, encoding );
  832 
  CID 10640 - DEADCODE
  After this line (or expression), the value of "node" cannot be 0.
  833     if ( node )
  834     {
  835       p = node->Parse ( p, &data, encoding );
  836       LinkEndChild ( node );
  837       
  838       /* LinkEndChild may potentially free the node.

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