Coverity CHECKED_RETURN - CID 10342

Bug #944114 reported by Product Strategy Coverity Bug Uploader
This bug report is a duplicate of:  Bug #944160: Filter defects by filename regex. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
DBus Menu
Invalid
Medium
Unassigned
1.0
Invalid
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: 10342
Checker: CHECKED_RETURN
Category: No category available
CWE definition: http://cwe.mitre.org/data/definitions/252.html
File: /tmp/buildd/libdbusmenu-0.5.92/debian/gir1.2-dbusmenu-glib-0.4/usr/lib/girepository-1.0/Dbusmenu-0.4.typelib.c
Function: gir_dummy_function()
Code snippet:
 24 dbusmenu_menuitem_get_root ();
 25 dbusmenu_menuitem_handle_event ();
 26 dbusmenu_menuitem_properties_copy ();
 27 dbusmenu_menuitem_properties_list ();
CID 10342 - CHECKED_RETURN
Calling function "dbusmenu_menuitem_property_exist" without checking return value (as is done elsewhere 4 out of 5 times).
No check of the return value of "dbusmenu_menuitem_property_exist()".
 28 dbusmenu_menuitem_property_exist ();
 29 dbusmenu_menuitem_property_get ();
 30 dbusmenu_menuitem_property_get_bool ();
 31 dbusmenu_menuitem_property_get_byte_array ();
 32 dbusmenu_menuitem_property_get_int ();
 33 dbusmenu_menuitem_property_get_variant ();

Revision history for this message
Product Strategy Coverity Bug Uploader (coverity-uploader) wrote : dbusmenu-1.0: /tmp/buildd/libdbusmenu-0.5.92/debian/gir1.2-dbusmenu-glib-0.4/usr/lib/girepository-1.0/Dbusmenu-0.4.typelib.c

Source file with Coverity annotations.

Changed in dbusmenu:
importance: Undecided → Medium
Ted Gould (ted)
Changed in dbusmenu:
status: New → Invalid
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.