← Back to team overview

dx-packages team mailing list archive

[Bug 937586] Re: Coverity PW.PARAMETER_HIDDEN - CID 10652

 

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

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

Title:
  Coverity PW.PARAMETER_HIDDEN - CID 10652

Status in Nux:
  Fix Released
Status in Nux 2.0 series:
  Fix Committed
Status in Nux 4.0 series:
  Fix Released
Status in Unity:
  Fix Released
Status in “nux” package in Ubuntu:
  Fix Released
Status in “unity” 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: 10652
  Checker: PW.PARAMETER_HIDDEN
  Category: No category available
  CWE definition: No definition available
  File: /tmp/buildd/nux-2.4.0/NuxGraphics/FontTexture.cpp
  Function: No function name available
  Code snippet:
  146       std::getline( Stream, Line );
  147 
  148       unsigned int line_size = (unsigned int) Line.length();
  149       char *tc = new char[line_size+1];
  CID 10652 - PW.PARAMETER_HIDDEN
  declaration hides parameter "Stream" (declared at line 139)
  150       const char *Stream = tc;
  151       Memcpy(tc, Line.c_str(), line_size + 1);
  152       tc[line_size] = 0;
  153 
  154       if ( ParseCommand(&Stream, "common") /*Read == "common"*/)
  155       {

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