Coverity UNINIT_CTOR - CID 12585 - plugins/resize/src/logic/src/resize-logic.cpp - in function: ResizeLogic::ResizeLogic() - Non-static class member fields and non-static class members are not initialized in this constructor nor in any functions that it calls.

Bug #1101482 reported by Product Strategy Coverity Bug Uploader
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Compiz
Triaged
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://wiki.ubuntu.com/CanonicalProductStrategy/Coverity
CID: 12585
Checker: UNINIT_CTOR
Category: pointer
CWE definition: http://cwe.mitre.org/data/definitions/457.html
File: /tmp/buildd/compiz-0.9.9~daily13.01.14/plugins/resize/src/logic/src/resize-logic.cpp
Function: ResizeLogic::ResizeLogic()
Code snippet:
 89 rKeys[3].dx = 0;
 90 rKeys[3].dy = 1;
 91 rKeys[3].warpMask = ResizeUpMask | ResizeDownMask;
 92 rKeys[3].resizeMask = ResizeDownMask;
CID 12585 - UNINIT_CTOR
Non-static class member field "savedGeometry.width" is not initialized in this constructor nor in any functions that it calls.
Non-static class member field "savedGeometry.height" is not initialized in this constructor nor in any functions that it calls.
Non-static class member field "geometry.x" is not initialized in this constructor nor in any functions that it calls.
Non-static class member field "geometry.y" is not initialized in this constructor nor in any functions that it calls.
Non-static class member field "geometry.width" is not initialized in this constructor nor in any functions that it calls.
Non-static class member field "geometry.height" is not initialized in this constructor nor in any functions that it calls.
Non-static class member field "geometryWithoutVertMax.x" is not initialized in this constructor nor in any functions that it calls.
Non-static class member field "geometryWithoutVertMax.y" is not initialized in this constructor nor in any functions that it calls.
Non-static class member field "geometryWithoutVertMax.width" is not initialized in this constructor nor in any functions that it calls.
Non-static class member field "geometryWithoutVertMax.height" is not initialized in this constructor nor in any functions that it calls.
Non-static class member "mask" is not initialized in this constructor nor in any functions that it calls.
Non-static class member "pointerDx" is not initialized in this constructor nor in any functions that it calls.
Non-static class member "pointerDy" is not initialized in this constructor nor in any functions that it calls.
Non-static class member "key" is not initialized in this constructor nor in any functions that it calls.
Non-static class member "leftCursor" is not initialized in this constructor nor in any functions that it calls.
Non-static class member "rightCursor" is not initialized in this constructor nor in any functions that it calls.
Non-static class member "upCursor" is not initialized in this constructor nor in any functions that it calls.
Non-static class member "upLeftCursor" is not initialized in this constructor nor in any functions that it calls.
Non-static class member "upRightCursor" is not initialized in this constructor nor in any functions that it calls.
Non-static class member "downCursor" is not initialized in this constructor nor in any functions that it calls.
Non-static class member "downLeftCursor" is not initialized in this constructor nor in any functions that it calls.
Non-static class member "downRightCursor" is not initialized in this constructor nor in any functions that it calls.
Non-static class member "middleCursor" is not initialized in this constructor nor in any functions that it calls.
Non-static class member "cursor" is not initialized in this constructor nor in any functions that it calls.
Non-static class member "inRegionStatus" is not initialized in this constructor nor in any functions that it calls.
Non-static class member "lastGoodHotSpotY" is not initialized in this constructor nor in any functions that it calls.
 93 }
 94
 95 ResizeLogic::~ResizeLogic()
 96 {
 97 }
 98

Revision history for this message
Product Strategy Coverity Bug Uploader (coverity-uploader) wrote : compiz-0.9.9: /tmp/buildd/compiz-0.9.9~daily13.01.14/plugins/resize/src/logic/src/resize-logic.cpp

Source file with Coverity annotations.

Changed in compiz:
importance: Undecided → Medium
MC Return (mc-return)
Changed in compiz:
milestone: none → 0.9.10.0
summary: - Coverity UNINIT_CTOR - CID 12585
+ Coverity UNINIT_CTOR - CID 12585 - plugins/resize/src/logic/src/resize-
+ logic.cpp - in function: ResizeLogic::ResizeLogic() - Non-static class
+ member fields and non-static class members are not initialized in this
+ constructor nor in any functions that it calls.
MC Return (mc-return)
Changed in compiz:
assignee: nobody → MC Return (mc-return)
status: New → Triaged
Changed in compiz:
milestone: 0.9.10.0 → 0.9.10.2
MC Return (mc-return)
Changed in compiz:
milestone: 0.9.10.2 → 0.9.11.0
Stephen M. Webb (bregma)
Changed in compiz:
milestone: 0.9.11.0 → 0.9.12.1
Stephen M. Webb (bregma)
Changed in compiz:
milestone: 0.9.12.1 → 0.9.12.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.