Coverity UNINIT - CID 10451
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
BAMF |
Fix Released
|
Low
|
Unassigned | ||
Legacy |
Fix Released
|
Low
|
Unassigned | ||
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:/
CID: 10451
Checker: UNINIT
Category: pointer_deref_read
CWE definition: http://
File: /tmp/buildd/
Function: test_path_
Code snippet:
147 static void
148 test_path_collision (void)
149 {
150 BamfView *view;
CID 10451 - UNINIT
Declaring variable "views" without initializer.
151 GList *views, *l;
152 int i, j;
153
At conditional: "i < 20" taking True branch
154 for (i = 0; i < 20; i++)
155 {
At conditional: "j < 2000" taking True branch
156 for (j = 0; j < 2000; j++)
Related branches
- Marco Trevisan (Treviño): Approve
-
Diff: 36 lines (+4/-10)1 file modifiedtests/bamfdaemon/test-view.c (+4/-10)
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 |
no longer affects: | bamf (Ubuntu Quantal) |
Changed in unity (Ubuntu): | |
status: | New → Fix Released |
Source file with Coverity annotations.