Coverity UNINIT - CID 12556 - plugins/session/src/session.cpp - Declaring variable SessionItem item; without initialization in function: SessionScreen::readState(_xmlNode *)

Bug #1101460 reported by Product Strategy Coverity Bug Uploader
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Compiz
Triaged
Medium
MC Return

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: 12556
Checker: UNINIT
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/session/src/session.cpp
Function: SessionScreen::readState(_xmlNode *)
Code snippet:
595 xmlNodePtr cur, attrib;
596
597 for (cur = root->xmlChildrenNode; cur; cur = cur->next)
598 {
CID 12556 - UNINIT
Declaring variable "item".
Declaring variable "item".
Declaring variable "item".
Declaring variable "item".
Declaring variable "item".
599 SessionItem item;
600
601 item.geometrySet = false;
602
603 if (xmlStrcmp (cur->name, BAD_CAST "window") == 0)
604 {

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

Source file with Coverity annotations.

Changed in compiz:
importance: Undecided → High
MC Return (mc-return)
Changed in compiz:
milestone: none → 0.9.10.0
summary: - Coverity UNINIT - CID 12556
+ Coverity UNINIT - CID 12556 - plugins/session/src/session.cpp -
+ Declaring variable SessionItem item; without init in function:
+ SessionScreen::readState(_xmlNode *)
summary: Coverity UNINIT - CID 12556 - plugins/session/src/session.cpp -
- Declaring variable SessionItem item; without init in function:
+ Declaring variable SessionItem item; without initialization in function:
SessionScreen::readState(_xmlNode *)
MC Return (mc-return)
Changed in compiz:
assignee: nobody → MC Return (mc-return)
MC Return (mc-return)
Changed in compiz:
milestone: 0.9.10.0 → 0.9.11.0
Stephen M. Webb (bregma)
no longer affects: compiz/0.9.9
Changed in compiz:
status: New → Triaged
Stephen M. Webb (bregma)
no longer affects: compiz/0.9.10
Changed in compiz:
milestone: 0.9.11.0 → 0.9.12.0
importance: High → Medium
Stephen M. Webb (bregma)
Changed in compiz:
milestone: 0.9.12.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.