Coverity PW.PARAMETER_HIDDEN - CID 10652
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Nux | Status tracked in 4.0 | |||||
2.0 |
Fix Committed
|
Undecided
|
Unassigned | |||
4.0 |
Fix Released
|
Medium
|
Unassigned | |||
Unity |
Fix Released
|
Undecided
|
Unassigned | |||
nux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | |||
unity (Ubuntu) |
Fix Released
|
Undecided
|
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:/
CID: 10652
Checker: PW.PARAMETER_HIDDEN
Category: No category available
CWE definition: No definition available
File: /tmp/buildd/
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(
155 {
Related branches
- Tim Penhey (community): Approve
- Steve Baker (community): Needs Resubmitting
- Jay Taoko: Pending requested
-
Diff: 99 lines (+11/-11)4 files modifiedNux/AnimatedTextureArea.cpp (+2/-2)
NuxGraphics/FontTexture.cpp (+7/-7)
NuxGraphics/GLTextureResourceManager.cpp (+1/-1)
tools/unity_support_test.c (+1/-1)
Changed in unity: | |
status: | New → Fix Committed |
milestone: | none → 6.0 |
Changed in nux: | |
status: | Fix Committed → Fix Released |
Changed in unity: | |
status: | Fix Committed → Fix Released |
Changed in unity (Ubuntu): | |
status: | New → Fix Released |
Source file with Coverity annotations.