Coverity UNINIT_CTOR - CID 12579 - plugins/opengl/src/texture.cpp - in function: TfpTexture::TfpTexture() - Non-static class members "x11Pixmap" and "source" are not initialized in this constructor nor in any functions that it calls.

Bug #1101594 reported by Product Strategy Coverity Bug Uploader
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Compiz
Fix Released
Medium
Stephen M. Webb
compiz (Ubuntu)
Fix Released
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: 12579
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/opengl/src/texture.cpp
Function: TfpTexture::TfpTexture()
Code snippet:
596 damaged (true),
597 damage (None),
598 updateMipMap (true)
599 {
CID 12579 - UNINIT_CTOR
Non-static class member "x11Pixmap" is not initialized in this constructor nor in any functions that it calls.
Non-static class member "source" is not initialized in this constructor nor in any functions that it calls.
600 }
601
602 TfpTexture::~TfpTexture ()
603 {
604 if (pixmap)
605 {

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/plugins/opengl/src/texture.cpp

Source file with Coverity annotations.

Changed in compiz:
importance: Undecided → Medium
MC Return (mc-return)
summary: - Coverity UNINIT_CTOR - CID 12579
+ Coverity UNINIT_CTOR - CID 12579 - plugins/opengl/src/texture.cpp - in
+ function: TfpTexture::TfpTexture() - Non-static class members
+ "x11Pixmap" and "source" are not initialized in this constructor nor in
+ any functions that it calls.
Changed in compiz:
milestone: none → 0.9.10.0
assignee: nobody → MC Return (mc-return)
status: New → Triaged
MC Return (mc-return)
Changed in compiz:
status: Triaged → In Progress
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
Stephen M. Webb (bregma)
Changed in compiz:
assignee: MC Return (mc-return) → Stephen M. Webb (bregma)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package compiz - 1:0.9.12.1+15.10.20150511-0ubuntu1

---------------
compiz (1:0.9.12.1+15.10.20150511-0ubuntu1) wily; urgency=medium

  [ Alberts Muktupāvels ]
  * Remove unused setting from gtk-window-decorator.
  * Stop using ccp_plugin.patch only in ubuntu, apply it to source and
    remove it from debian/patches.

  [ Martin Wimpress ]
  * Default MATE keybindings to be consistent with other MATE WMs.

  [ Stephen M. Webb ]
  * OpenGL plugin: refine GLTexture API to adhere to class invariants
    (LP: #1101594)
  * removed redundant 12.04 migration scripts (LP: #1400493, #1423566)

 -- CI Train Bot <email address hidden> Mon, 11 May 2015 16:39:16 +0000

Changed in compiz (Ubuntu):
status: New → Fix Released
Changed in compiz:
status: In Progress → Fix Released
no longer affects: compiz/0.9.9
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.