Coverity UNINIT_CTOR - CID 12592 - src/screen.cpp - in function: PrivateScreen::PrivateScreen(CompScreen *, compiz::private_screen::WindowManager &) - Multiple non-static class member variables and fields are not initialized in this constructor nor in any functions that it calls.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Compiz |
In Progress
|
Medium
|
MC Return | ||
0.9.9 |
Won't Fix
|
Medium
|
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: 12592
Checker: UNINIT_CTOR
Category: pointer
CWE definition: http://
File: /tmp/buildd/
Function: PrivateScreen:
Code snippet:
5202 screenEdge[i].id = None;
5203 screenEdge[i].count = 0;
5204 }
5205
CID 12592 - UNINIT_CTOR
Non-static class member "escapeKeyCode" is not initialized in this constructor nor in any functions that it calls.
Non-static class member "returnKeyCode" is not initialized in this constructor nor in any functions that it calls.
Non-static class member field "attrib.x" is not initialized in this constructor nor in any functions that it calls.
Non-static class member field "attrib.y" is not initialized in this constructor nor in any functions that it calls.
Non-static class member field "attrib.width" is not initialized in this constructor nor in any functions that it calls.
Non-static class member field "attrib.height" is not initialized in this constructor nor in any functions that it calls.
Non-static class member field "attrib.
Non-static class member field "attrib.depth" is not initialized in this constructor nor in any functions that it calls.
Non-static class member field "attrib.visual" is not initialized in this constructor nor in any functions that it calls.
Non-static class member field "attrib.root" is not initialized in this constructor nor in any functions that it calls.
Non-static class member field "attrib.c_class" is not initialized in this constructor nor in any functions that it calls.
Non-static class member field "attrib.
Non-static class member field "attrib.
Non-static class member field "attrib.
Non-static class member field "attrib.
Non-static class member field "attrib.
Non-static class member field "attrib.save_under" is not initialized in this constructor nor in any functions that it calls.
Non-static class member field "attrib.colormap" is not initialized in this constructor nor in any functions that it calls.
Non-static class member field "attrib.
Non-static class member field "attrib.map_state" is not initialized in this constructor nor in any functions that it calls.
Non-static class member field "attrib.
Non-static class member field "attrib.
Non-static class member field "attrib.
Non-static class member field "attrib.
Non-static class member field "attrib.screen" is not initialized in this constructor nor in any functions that it calls.
Non-static class member "wmSnTimestamp" is not initialized in this constructor nor in any functions that it calls.
5206 }
5207
5208 cps::History:
5209 currentHistory_(0),
5210 activeNum_ (1)
5211 {
Related branches
- Compiz Maintainers: Pending requested
-
Diff: 3829 lines (+791/-770)1 file modifiedsrc/screen.cpp (+791/-770)
summary: |
- Coverity UNINIT_CTOR - CID 12592 + Coverity UNINIT_CTOR - CID 12592 - src/screen.cpp - in function: + PrivateScreen::PrivateScreen(CompScreen *, + compiz::private_screen::WindowManager &) - Multiple non-static class + member variables and fields are not initialized in this constructor nor + in any functions that it calls. |
Changed in compiz: | |
status: | New → Triaged |
assignee: | nobody → MC Return (mc-return) |
milestone: | none → 0.9.10.0 |
Changed in compiz: | |
status: | Triaged → In Progress |
Changed in compiz: | |
milestone: | 0.9.10.0 → 0.9.11.0 |
Changed in compiz: | |
milestone: | 0.9.11.0 → 0.9.12.1 |
Changed in compiz: | |
milestone: | 0.9.12.1 → 0.9.12.2 |
Source file with Coverity annotations.