Coverity UNINIT_CTOR - CID 10890 - src/rect/src/rect.cpp - in function: CompRect::CompRect(int, int, int, int) - Non-static class member field "mRegion.size" is not initialized in this constructor nor in any functions that it calls.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Compiz |
Triaged
|
Medium
|
MC Return | ||
Compiz Core |
New
|
Medium
|
Unassigned | ||
0.9.5 |
New
|
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: 10890
Checker: UNINIT_CTOR
Category: No category available
CWE definition: http://
File: /tmp/buildd/
Function: CompRect:
Code snippet:
47 mRegion.extents.x1 = x;
48 mRegion.extents.y1 = y;
49 mRegion.extents.x2 = x + width;
50 mRegion.extents.y2 = y + height;
CID 10890 - UNINIT_CTOR
Non-static class member field "mRegion.size" is not initialized in this constructor nor in any functions that it calls.
51 }
52
53 CompRect::CompRect (const CompRect& r)
54 {
55 mRegion = r.mRegion;
56 mRegion.rects = &mRegion.extents;
Changed in compiz: | |
importance: | Undecided → Medium |
summary: |
- Coverity UNINIT_CTOR - CID 10890 + Coverity UNINIT_CTOR - CID 10890 - src/rect/src/rect.cpp - in function: + CompRect::CompRect(int, int, int, int) - Non-static class member field + "mRegion.size" is not initialized in this constructor nor in any + functions that it calls. |
Changed in compiz: | |
milestone: | none → 0.9.10.0 |
assignee: | nobody → MC Return (mc-return) |
Changed in compiz: | |
status: | New → Triaged |
Changed in compiz: | |
milestone: | 0.9.10.0 → 0.9.10.2 |
Changed in compiz: | |
milestone: | 0.9.10.2 → 0.9.11.0 |
Source file with Coverity annotations.