Coverity PW.PARAMETER_HIDDEN - CID 10449

Bug #937398 reported by Product Strategy Coverity Bug Uploader
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
BAMF
Fix Released
Medium
Marco Trevisan (Treviño)
Legacy
Fix Released
Medium
Marco Trevisan (Treviño)
Unity
Fix Released
Undecided
Unassigned
bamf (Ubuntu)
Fix Released
Undecided
Unassigned
unity (Ubuntu)
Fix Released
Undecided
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: 10449
Checker: PW.PARAMETER_HIDDEN
Category: No category available
CWE definition: No definition available
File: /tmp/buildd/bamf-0.2.106/lib/libbamf/bamf-view.c
Function: No function name available
Code snippet:
180 len = g_strv_length (children);
181
182 for (i = len-1; i >= 0; i--)
183 {
CID 10449 - PW.PARAMETER_HIDDEN
declaration hides parameter "view" (declared at line 144)
184 BamfView *view = bamf_factory_view_for_path (bamf_factory_get_default (), children[i]);
185 results = g_list_prepend (results, g_object_ref (view));
186 }
187
188 priv->cached_children = results;
189 return g_list_copy (priv->cached_children);

Related branches

Revision history for this message
Product Strategy Coverity Bug Uploader (coverity-uploader) wrote : bamf-trunk: /tmp/buildd/bamf-0.2.106/lib/libbamf/bamf-view.c

Source file with Coverity annotations.

Changed in bamf:
importance: Undecided → Medium
Changed in unity:
status: New → Fix Committed
milestone: none → 5.6.0
Changed in bamf:
status: Fix Committed → Fix Released
Changed in unity:
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package bamf - 0.2.112-0ubuntu1

---------------
bamf (0.2.112-0ubuntu1) precise; urgency=low

  * New upstream release.
    - bamf matcher messes up refcounting on views (LP: #942070)
    - Chromium is running, but not showing in launcher or alt-tab.
      (LP: #918474)
    - libbamf leaks memory on view dispose (LP: #942148)
    - Coverity PW.PARAMETER_HIDDEN - CID 10449 (LP: #937398)
    - Coverity UNINIT - CID 10451 (LP: #937402)
  * debian/libbamf0.symbols, debian/libbamf3-0.symbols:
    - update symbols for new API
 -- Didier Roche <email address hidden> Mon, 12 Mar 2012 11:47:33 +0100

Changed in bamf (Ubuntu):
status: New → Fix Released
no longer affects: bamf (Ubuntu Quantal)
Changed in unity (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.