Coverity PW.PARAMETER_HIDDEN - CID 10449

Bug #937398 reported by Product Strategy Coverity Bug Uploader on 2012-02-21
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
BAMF
Medium
Marco Trevisan (Treviño)
Legacy
Medium
Marco Trevisan (Treviño)
Unity
Fix Released
Undecided
Unassigned
bamf (Ubuntu)
Undecided
Unassigned
unity (Ubuntu)
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

Source file with Coverity annotations.

Changed in bamf:
importance: Undecided → Medium
Didier Roche (didrocks) on 2012-03-12
Changed in unity:
status: New → Fix Committed
milestone: none → 5.6.0
Didier Roche (didrocks) on 2012-03-12
Changed in bamf:
status: Fix Committed → Fix Released
Changed in unity:
status: Fix Committed → Fix Released
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
Adolfo Jayme (fitojb) on 2014-01-11
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  Edit
Everyone can see this information.

Other bug subscribers