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.

Bug #1101639 reported by Product Strategy Coverity Bug Uploader
10
This bug affects 2 people
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://wiki.ubuntu.com/CanonicalProductStrategy/Coverity
CID: 12592
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/src/screen.cpp
Function: PrivateScreen::PrivateScreen(CompScreen *, compiz::private_screen::WindowManager &)
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.border_width" is not initialized in this constructor nor in any functions that it calls.
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.bit_gravity" is not initialized in this constructor nor in any functions that it calls.
Non-static class member field "attrib.win_gravity" is not initialized in this constructor nor in any functions that it calls.
Non-static class member field "attrib.backing_store" is not initialized in this constructor nor in any functions that it calls.
Non-static class member field "attrib.backing_planes" is not initialized in this constructor nor in any functions that it calls.
Non-static class member field "attrib.backing_pixel" is not initialized in this constructor nor in any functions that it calls.
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.map_installed" is not initialized in this constructor nor in any functions that it calls.
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.all_event_masks" is not initialized in this constructor nor in any functions that it calls.
Non-static class member field "attrib.your_event_mask" is not initialized in this constructor nor in any functions that it calls.
Non-static class member field "attrib.do_not_propagate_mask" is not initialized in this constructor nor in any functions that it calls.
Non-static class member field "attrib.override_redirect" is not initialized in this constructor nor in any functions that it calls.
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::History() :
5209 currentHistory_(0),
5210 activeNum_ (1)
5211 {

Related branches

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/src/screen.cpp

Source file with Coverity annotations.

Changed in compiz:
importance: Undecided → Medium
MC Return (mc-return)
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
MC Return (mc-return)
Changed in compiz:
status: Triaged → In Progress
MC Return (mc-return)
Changed in compiz:
milestone: 0.9.10.0 → 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.