dx-packages team mailing list archive
-
dx-packages team
-
Mailing list archive
-
Message #08275
[Bug 943708] [NEW] Coverity FORWARD_NULL - CID 10692
You have been subscribed to a public bug:
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: 10692
Checker: FORWARD_NULL
Category: No category available
CWE definition: http://cwe.mitre.org/data/definitions/476.html
File: /tmp/buildd/notify-osd-0.9.33/src/stack.c
Function: stack_notify_handler()
Code snippet:
724 bubble_set_icon_from_path (bubble, g_value_get_string(data));
725 else
726 g_warning ("image_path hint is not a string\n");
727 }
At conditional: "icon" taking False branch
CID 10692 - FORWARD_NULL
Comparing "icon" to null implies that "icon" might be null.
728 else if (icon && *icon != '\0')
729 {
730 g_debug("Using icon parameter\n");
731 bubble_set_icon (bubble, icon);
732 }
At conditional: "data = (GValue *)g_hash_table_lookup(hints, "icon_data")" taking True branch
733 else if ((data = (GValue*) g_hash_table_lookup (hints, "icon_data")))
** Affects: notify-osd (Ubuntu)
Importance: High
Status: New
** Affects: notify-osd/oneiric
Importance: Undecided
Status: New
** Tags: coverity coverity-forward-null
--
Coverity FORWARD_NULL - CID 10692
https://bugs.launchpad.net/bugs/943708
You received this bug notification because you are a member of DX Packages, which is subscribed to notify-osd in Ubuntu.