← Back to team overview

dx-packages team mailing list archive

[Bug 1102595] Re: Coverity COPY_PASTE_ERROR - CID 10969

 

** Changed in: libappindicator/13.04
       Status: Fix Committed => Fix Released

** Changed in: libappindicator
       Status: Fix Committed => Fix Released

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

Title:
  Coverity COPY_PASTE_ERROR - CID 10969

Status in Libappindicator:
  Fix Released
Status in libappindicator 13.04 series:
  Fix Released
Status in “libappindicator” package in Ubuntu:
  Fix Released

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: 10969
  Checker: COPY_PASTE_ERROR
  Category: No category available
  CWE definition: http://cwe.mitre.org/data/definitions/398.html
  File: /tmp/buildd/libappindicator-12.10.1/src/app-indicator.c
  Function: app_indicator_set_attention_icon_full
  Code snippet:
  1889 		if (self->priv->attention_icon_name) {
  1890 			g_free (self->priv->attention_icon_name);
  1891 		}
  1892 
  CID 10969 - COPY_PASTE_ERROR
  "g_strdup(icon_name)" looks like the original copy.
  1893 		self->priv->attention_icon_name = g_strdup(icon_name);
  1894 		changed = TRUE;
  1895 	}
  1896 
  1897 	if (g_strcmp0(self->priv->att_accessible_desc, icon_desc) != 0) {
  1898 		if (self->priv->att_accessible_desc) {

To manage notifications about this bug go to:
https://bugs.launchpad.net/libappindicator/+bug/1102595/+subscriptions