Coverity PW.BRANCH_PAST_INITIALIZATION - CID 10662

Bug #937441 reported by Product Strategy Coverity Bug Uploader
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Messaging Menu
Fix Released
Medium
Charles Kerr
0.6
Fix Released
Medium
Charles Kerr

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: 10662
Checker: PW.BRANCH_PAST_INITIALIZATION
Category: No category available
CWE definition: http://cwe.mitre.org/data/definitions/457.html
File: /tmp/buildd/indicator-messages-0.5.0/src/status-items.c
Function: No function name available
Code snippet:
255 {
256 gchar * provider = (gchar *)dir;
257
258 if (!g_file_test(provider, G_FILE_TEST_EXISTS)) {
CID 10662 - PW.BRANCH_PAST_INITIALIZATION
transfer of control bypasses initialization of:
variable "provider_type" (declared at line 279)
variable "sprovider" (declared at line 285)
259 goto exit_final;
260 }
261
262 g_debug("Loading status provider: %s", provider);
263
264 GModule * module;

Related branches

Revision history for this message
Product Strategy Coverity Bug Uploader (coverity-uploader) wrote : indicator-messages-0.6: /tmp/buildd/indicator-messages-0.5.0/src/status-items.c

Source file with Coverity annotations.

Changed in indicator-messages:
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers