Coverity PW.BAD_PRINTF_FORMAT_STRING - CID 10501

Bug #937464 reported by Product Strategy Coverity Bug Uploader on 2012-02-21
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libunity
Fix Released
Low
Unassigned
5.0
New
Medium
Unassigned
libunity (Ubuntu)
Low
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: 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_);

Related branches

Source file with Coverity annotations.

Changed in libunity:
importance: Undecided → Medium
Michal Hruby (mhr3) on 2012-10-03
Changed in libunity:
status: New → Confirmed
Michal Hruby (mhr3) on 2012-10-03
Changed in libunity:
importance: Medium → Low
Changed in libunity:
status: Confirmed → Fix Committed
Michal Hruby (mhr3) on 2013-09-02
Changed in libunity:
status: Fix Committed → Fix Released
milestone: none → 7.0.0
Changed in libunity (Ubuntu):
status: New → Fix Released
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers