← Back to team overview

desktop-packages team mailing list archive

[Bug 937464] Re: Coverity PW.BAD_PRINTF_FORMAT_STRING - CID 10501

 

** Changed in: libunity (Ubuntu)
       Status: New => Fix Released

** Changed in: libunity (Ubuntu)
   Importance: Undecided => Low

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libunity in Ubuntu.
Matching subscriptions: dp-libunity
https://bugs.launchpad.net/bugs/937464

Title:
  Coverity PW.BAD_PRINTF_FORMAT_STRING - CID 10501

Status in libunity:
  Fix Released
Status in libunity 5.0 series:
  New
Status in libunity 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: 10501
  Checker: PW.BAD_PRINTF_FORMAT_STRING
  Category: No category available
  CWE definition: http://cwe.mitre.org/data/definitions/628.html
  File: /tmp/buildd/libunity-5.4.0/src/unity-inspector.c
  Function: No function name available
  Code snippet:
  188 	_tmp0_ = name;
  189 	if (g_strcmp0 (_tmp0_, "com.canonical.Unity") != 0) {
  190 		const gchar* _tmp1_;
  191 		_tmp1_ = name;
  CID 10501 - PW.BAD_PRINTF_FORMAT_STRING
  invalid format string conversion
  192 		g_critical ("Internal error in libunity: Got name owner notification " "from '%'. Expected 'com.canonical.Unity'", _tmp1_);
  193 		return;
  194 	}
  195 	self->priv->_unity_running = TRUE;
  196 	_tmp2_ = name_owner;
  197 	_tmp3_ = g_strdup (_tmp2_);

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