Coverity REVERSE_INULL - CID 12653
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
BAMF |
Fix Released
|
High
|
Marco Trevisan (Treviño) | ||
bamf (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Raring |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
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: https:/
CID: 12653
Checker: REVERSE_INULL
Category: No category available
CWE definition: http://
File: /tmp/buildd/
Function: list_prepend_
Code snippet:
1037 if (env)
1038 {
1039 data_dirs = g_strsplit (env, ":", 0);
1040
CID 12653 - REVERSE_INULL
{CovLStrv2{
{CovLStrv2{
1041 for (data = data_dirs; *data; data++)
1042 {
1043 path = g_build_filename (*data, "applications", NULL);
1044 if (g_file_test (path, G_FILE_TEST_IS_DIR) &&
1045 !g_list_find_custom (dirs, path, (GCompareFunc) g_strcmp0))
1046 {
Related branches
- Andrea Azzarone (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 96 lines (+25/-13)2 files modifiedsrc/bamf-legacy-window.c (+22/-10)
src/bamf-matcher.c (+3/-3)
description: | updated |
description: | updated |
description: | updated |
no longer affects: | bamf/0.4 |
Changed in bamf: | |
status: | Fix Committed → Fix Released |
tags: |
added: verification-done removed: verification-needed |
Source file with Coverity annotations.