← Back to team overview

desktop-packages team mailing list archive

[Bug 1101575] Re: Coverity UNINIT_CTOR - CID 12570 - plugins/cube/src/cube.cpp - in function: PrivateCubeScreen::PrivateCubeScreen(CompScreen *) - Non-static class members "mXRotations", "mCapsPainted" and "mToOpacity" are not initialized in this constructor nor in any functions that it calls.

 

** Changed in: compiz
       Status: Fix Committed => Fix Released

** Changed in: compiz
    Milestone: 0.9.10.2 => None

** Changed in: compiz/0.9.9
       Status: New => Won't Fix

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to compiz in Ubuntu.
https://bugs.launchpad.net/bugs/1101575

Title:
  Coverity UNINIT_CTOR - CID 12570 - plugins/cube/src/cube.cpp - in
  function: PrivateCubeScreen::PrivateCubeScreen(CompScreen *) - Non-
  static class members "mXRotations",  "mCapsPainted" and "mToOpacity"
  are not initialized in this constructor nor in any functions that it
  calls.

Status in Compiz:
  Fix Released
Status in Compiz 0.9.9 series:
  Won't Fix
Status in “compiz” package in Ubuntu:
  Fix Released

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: 12570
  Checker: UNINIT_CTOR
  Category: No category available
  CWE definition: http://cwe.mitre.org/data/definitions/457.html
  File: /tmp/buildd/compiz-0.9.9~daily13.01.14/plugins/cube/src/cube.cpp
  Function: PrivateCubeScreen::PrivateCubeScreen(CompScreen *)
  Code snippet:
  1698 
  1699     ScreenInterface::setHandler (s);
  1700     CompositeScreenInterface::setHandler (cScreen);
  1701     GLScreenInterface::setHandler (gScreen);
  CID 12570 - UNINIT_CTOR
  Non-static class member "mXRotations" is not initialized in this constructor nor in any functions that it calls.
  Non-static class member "mCapsPainted" is not initialized in this constructor nor in any functions that it calls.
  Non-static class member "mToOpacity" is not initialized in this constructor nor in any functions that it calls.
  1702 }
  1703 
  1704 PrivateCubeScreen::~PrivateCubeScreen ()
  1705 {
  1706     if (mVertices)
  1707 	free (mVertices);

To manage notifications about this bug go to:
https://bugs.launchpad.net/compiz/+bug/1101575/+subscriptions