Coverity PW.BRANCH_PAST_INITIALIZATION - CID 10344

Bug #940651 reported by Product Strategy Coverity Bug Uploader
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
DBus Menu
Fix Released
Medium
Ted Gould
1.0
Fix Released
Undecided
Ted Gould

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: 10344
Checker: PW.BRANCH_PAST_INITIALIZATION
Category: No category available
CWE definition: http://cwe.mitre.org/data/definitions/457.html
File: /tmp/buildd/libdbusmenu-0.5.92/libdbusmenu-glib/client.c
Function: No function name available
Code snippet:
600 properties_listener_t * listener = &g_array_index(listeners, properties_listener_t, i);
601 listener->callback(NULL, error, listener->user_data);
602 }
603 g_error_free(error);
CID 10344 - PW.BRANCH_PAST_INITIALIZATION
transfer of control bypasses initialization of:
variable "parent" (declared at line 608)
variable "localerror" (declared at line 646)
604 goto out;
605 }
606
607 /* Callback all the folks we can find */
608 GVariant * parent = g_variant_get_child_value(params, 0);
609 GVariantIter iter;

Related branches

Revision history for this message
Product Strategy Coverity Bug Uploader (coverity-uploader) wrote : dbusmenu-1.0: /tmp/buildd/libdbusmenu-0.5.92/libdbusmenu-glib/client.c

Source file with Coverity annotations.

Changed in dbusmenu:
importance: Undecided → Medium
Ted Gould (ted)
Changed in dbusmenu:
status: New → In Progress
assignee: nobody → Ted Gould (ted)
Ted Gould (ted)
Changed in dbusmenu:
status: In Progress → Fix Committed
milestone: none → 0.5.93
Ted Gould (ted)
Changed in dbusmenu:
status: Fix Committed → Fix Released
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.