Coverity DEADCODE - CID 10447

Bug #1100554 reported by Product Strategy Coverity Bug Uploader on 2013-01-16
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Marco Trevisan (Treviño)
bamf (Ubuntu)

Bug Description


Coverity report bug.

[Test Case]

None, no regressions allowed.

[Regression Potential]

No regression potential.
This bug is exported from the Coverity Integration Manager on Canonical's servers. For information on how this is done please see this website:
CID: 10447
Category: No category available
CWE definition:
File: /tmp/buildd/bamf-0.4.0daily13.01.11/src/bamf-matcher.c
Function: get_open_office_window_hint
Code snippet:
354 return NULL;
356 if (g_str_has_suffix (name, "LibreOffice Writer"))
357 {
{CovLStrv2{{t{Assigning: {0} {1}= {2}.}{"binary"}{}{""libreoffice""}}}}
358 binary = "libreoffice";
359 parameter = "writer";
360 }
361 else if (g_str_has_suffix (name, "LibreOffice Calc"))
362 {
{CovLStrv2{{t{Assigning: {0} {1}= {2}.}{"binary"}{}{""libreoffice""}}}}
363 binary = "libreoffice";

Related branches

Source file with Coverity annotations.

Changed in bamf:
importance: Undecided → Medium
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:bamf at revision 532, scheduled for release in bamf, milestone 0.4.0

Changed in bamf:
status: In Progress → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package bamf - 0.4.0daily13.05.02-0ubuntu1

bamf (0.4.0daily13.05.02-0ubuntu1) saucy; urgency=low

  [ Marco Trevisan (Treviño) ]
  * debian/control:
    - Update the libwnck-3-dev dependency to 3.4.5

  [ Marco Trevisan (Treviño) <>, Alexandre Abreu ]
  * Webapps launchers have incorrect window matching (pips) (LP:

  [ Marco Trevisan (Treviño) ]
  * Coverity SECURE_TEMP - CID 10450 (LP: #1100551)
  * Matcher leaks memory when rematching a new desktop file (LP:
  * Coverity DEADCODE - CID 10447 (LP: #1100554)
  * Coverity REVERSE_INULL - CID 12653 (LP: #1100553)
  * Webapps launchers have incorrect window matching (pips) (LP:

  [ Ubuntu daily release ]
  * Automatic snapshot from revision 533
 -- Ubuntu daily release <email address hidden> Thu, 02 May 2013 22:59:03 +0000

Changed in bamf (Ubuntu):
status: New → Fix Released
description: updated
description: updated
Changed in bamf:
status: Fix Committed → Fix Released
no longer affects: bamf/0.4
Changed in bamf (Ubuntu Raring):
status: New → Fix Released

Hello Product, or anyone else affected,

Accepted bamf into raring-proposed. The package will build now and be available at in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at . Thank you in advance!

tags: added: verification-needed
tags: added: verification-done
removed: verification-needed

The verification of this Stable Release Update has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers