Coverity UNINIT - CID 10694

Bug #943707 reported by Product Strategy Coverity Bug Uploader on 2012-03-01
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
notify-osd (Ubuntu)
High
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: 10694
Checker: UNINIT
Category: No category available
CWE definition: http://cwe.mitre.org/data/definitions/457.html
File: /tmp/buildd/notify-osd-0.9.33/src/stack.c
Function: compare_id()
Code snippet:
124 gint
125 compare_id (gconstpointer a,
126 gconstpointer b)
127 {
CID 10694 - UNINIT
Declaring variable "result" without initializer.
128 gint result;
129 guint id_1;
130 guint id_2;
131
At conditional: "!a" taking False branch
At conditional: "!b" taking False branch
132 if (!a || !b)
133 return -1;

Source file with Coverity annotations.

Changed in notify-osd:
importance: Undecided → High
affects: notify-osd → notify-osd (Ubuntu)
no longer affects: notify-osd/oneiric
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers