Coverity UNINIT_CTOR - CID 10892 - src/window/extents/src/windowextents.cpp in function: compiz::window::extents::Extents::Extents() - Non-static class member "bottom", "left", "right" and "top" are not initialized in this constructor nor in any functions that it calls.

Bug #957583 reported by Product Strategy Coverity Bug Uploader on 2012-03-17
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Compiz
Medium
MC Return
Compiz Core
Medium
Unassigned
0.9.5
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://wiki.ubuntu.com/CanonicalProductStrategy/Coverity
CID: 10892
Checker: UNINIT_CTOR
Category: No category available
CWE definition: http://cwe.mitre.org/data/definitions/457.html
File: /tmp/buildd/compiz-0.9.7.0~bzr3025/src/window/extents/src/windowextents.cpp
Function: compiz::window::extents::Extents::Extents()
Code snippet:
 64
 65 return rv;
 66 }
 67
CID 10892 - UNINIT_CTOR
Non-static class member ""bottom"" is not initialized in this constructor nor in any functions that it calls.
Non-static class member ""left"" is not initialized in this constructor nor in any functions that it calls.
Non-static class member ""right"" is not initialized in this constructor nor in any functions that it calls.
Non-static class member ""top"" is not initialized in this constructor nor in any functions that it calls.
 68 compiz::window::extents::Extents::Extents () {}
 69
 70 compiz::window::extents::Extents::Extents (int left, int right, int top, int bottom) :
 71 left (left),
 72 right (right),
 73 top (top),

Changed in compiz:
importance: Undecided → Medium
MC Return (mc-return) on 2013-07-05
summary: - Coverity UNINIT_CTOR - CID 10892
+ Coverity UNINIT_CTOR - CID 10892 -
+ src/window/extents/src/windowextents.cpp in function:
+ compiz::window::extents::Extents::Extents() - Non-static class member
+ "bottom", "left", "right" and "top" are not initialized in this
+ constructor nor in any functions that it calls.
Changed in compiz:
milestone: none → 0.9.10.0
MC Return (mc-return) on 2013-07-07
Changed in compiz:
status: New → Triaged
assignee: nobody → MC Return (mc-return)
Changed in compiz:
milestone: 0.9.10.0 → 0.9.10.2
MC Return (mc-return) on 2013-07-24
Changed in compiz:
milestone: 0.9.10.2 → 0.9.11.0
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers