Coverity CHECKED_RETURN - CID 12652
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
BAMF |
Fix Released
|
Medium
|
Marco Trevisan (Treviño) | ||
0.4 |
Fix Committed
|
Medium
|
Marco Trevisan (Treviño) | ||
bamf (Ubuntu) |
Fix Released
|
Undecided
|
Marco Trevisan (Treviño) |
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: 12652
Checker: CHECKED_RETURN
Category: No category available
CWE definition: http://
File: /tmp/buildd/
Function: bamf_applicatio
Code snippet:
107
108 GKeyFile* key_file = g_key_file_new ();
109 GError *error = NULL;
110
CID 12652 - CHECKED_RETURN
{CovLStrv2{
{CovLStrv2{{t{No check of the return value of {0}.}{"
111 g_key_file_
112
113 if (error)
114 {
115 g_key_file_free (key_file);
116 g_error_free (error);
Related branches
- PS Jenkins bot (community): Approve (continuous-integration)
- Brandon Schaefer (community): Approve
-
Diff: 947 lines (+383/-88)26 files modifiedMakefile.am (+1/-2)
Makefile.am.coverage (+11/-8)
configure.ac (+1/-0)
debian/control (+1/-0)
lib/libbamf/bamf-application.c (+82/-40)
lib/libbamf/bamf-view.c (+6/-3)
lib/libbamf/bamf-view.h (+1/-0)
src/Makefile.am (+0/-1)
src/bamf-application.c (+9/-8)
tests/Makefile.am (+10/-0)
tests/Makefile.am.gtests (+13/-7)
tests/bamfdaemon/Makefile.am (+2/-1)
tests/bamfdaemon/test-application.c (+4/-5)
tests/bamfdaemon/test-bamf.c (+1/-1)
tests/bamfdaemon/test-matcher.c (+1/-1)
tests/bamfdaemon/test-view.c (+0/-7)
tests/bamfdaemon/test-window.c (+1/-2)
tests/data/bin/mime-test-text-editor (+3/-0)
tests/data/bin/unity-webapps-runner (+3/-0)
tests/data/full-name.desktop (+7/-0)
tests/data/invalid-type.desktop (+5/-0)
tests/data/ubuntu-web-app.desktop (+5/-0)
tests/gtester2xunit.py (+56/-0)
tests/libbamf/Makefile.am (+6/-2)
tests/libbamf/test-application.c (+149/-0)
tests/libbamf/test-libbamf.c (+5/-0)
- Brandon Schaefer (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 772 lines (+298/-75)22 files modifiedMakefile.am (+1/-3)
configure.ac (+1/-0)
lib/libbamf/bamf-application.c (+82/-40)
lib/libbamf/bamf-view.c (+6/-3)
lib/libbamf/bamf-view.h (+1/-1)
src/bamf-application.c (+9/-8)
tests/Makefile.am (+10/-0)
tests/Makefile.am.gtests (+0/-1)
tests/bamfdaemon/Makefile.am (+0/-1)
tests/bamfdaemon/test-application.c (+4/-5)
tests/bamfdaemon/test-bamf.c (+1/-1)
tests/bamfdaemon/test-matcher.c (+1/-1)
tests/bamfdaemon/test-view.c (+0/-7)
tests/bamfdaemon/test-window.c (+1/-2)
tests/data/bin/mime-test-text-editor (+3/-0)
tests/data/bin/unity-webapps-runner (+3/-0)
tests/data/full-name.desktop (+7/-0)
tests/data/invalid-type.desktop (+5/-0)
tests/data/ubuntu-web-app.desktop (+5/-0)
tests/libbamf/Makefile.am (+4/-2)
tests/libbamf/test-application.c (+149/-0)
tests/libbamf/test-libbamf.c (+5/-0)
Changed in bamf: | |
status: | New → Fix Released |
status: | Fix Released → Fix Committed |
assignee: | nobody → Marco Trevisan (Treviño) (3v1n0) |
milestone: | none → 0.5.0 |
Changed in bamf (Ubuntu): | |
status: | New → Fix Released |
assignee: | nobody → Marco Trevisan (Treviño) (3v1n0) |
Source file with Coverity annotations.