← Back to team overview

desktop-packages team mailing list archive

[Bug 1101618] Re: Coverity UNINIT_CTOR - CID 12566 - plugins/animation/src/grid.cpp - in function: GridAnim::GridAnim(CompWindow *, WindowEvent, float, AnimEffectInfo *, const CompRect &) - Non-static class members "mGridWidth" and "mGridHeight" are not initialized in this constructor nor in any functions that it calls.

 

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

** 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/1101618

Title:
  Coverity UNINIT_CTOR - CID 12566 - plugins/animation/src/grid.cpp - in
  function: GridAnim::GridAnim(CompWindow *, WindowEvent, float,
  AnimEffectInfo *, const CompRect &) - Non-static class members
  "mGridWidth" and "mGridHeight" 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: 12566
  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/animation/src/grid.cpp
  Function: GridAnim::GridAnim(CompWindow *, WindowEvent, float, AnimEffectInfo *, const CompRect &)
  Code snippet:
  188     Animation::Animation (w, curWindowEvent, duration, info, icon),
  189     mModel (NULL),
  190     mUseQTexCoord (false)
  191 {
  CID 12566 - UNINIT_CTOR
  Non-static class member "mGridWidth" is not initialized in this constructor nor in any functions that it calls.
  Non-static class member "mGridHeight" is not initialized in this constructor nor in any functions that it calls.
  192 }
  193 
  194 void
  195 GridAnim::init ()
  196 {
  197     initGrid ();

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