← Back to team overview

dx-packages team mailing list archive

[Bug 943708] Re: Coverity FORWARD_NULL - CID 10692

 

** Project changed: notify-osd => notify-osd (Ubuntu)

** No longer affects: notify-osd/oneiric

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to notify-osd in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/943708

Title:
  Coverity FORWARD_NULL - CID 10692

Status in “notify-osd” package in Ubuntu:
  New

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: 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")))

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/notify-osd/+bug/943708/+subscriptions