Coverity CHECKED_RETURN - CID 11391
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Application Menu Indicator |
Fix Released
|
High
|
Mathieu Trudel-Lapierre | ||
indicator-appmenu (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
A Coverity bug could not be exported due to the nature of its shared project--I'll attach a pretty-printed report here.
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: 11391
Checker: CHECKED_RETURN
Category: library_function
CWE definition: http://
File: /tmp/buildd/
Function: configure_db
Code snippet:
210 }
211
212 gchar * cachedir = g_build_
213 if (!g_file_
CID 11391 - CHECKED_RETURN
Calling function "mkdir(cachedir, 448U)" without checking return value. This library function may fail and return an error code.
No check of the return value of "mkdir(cachedir, 448U)".
214 g_mkdir(cachedir, 1 << 6 | 1 << 7 | 1 << 8); // 700
215 }
216 g_free(cachedir);
217
218 self->priv-
219 db_exists = g_file_
Related branches
- PS Jenkins bot (community): Approve (continuous-integration)
- Indicator Applet Developers: Pending requested
-
Diff: 16 lines (+6/-1)1 file modifiedsrc/usage-tracker.c (+6/-1)
Changed in indicator-appmenu: | |
status: | New → In Progress |
assignee: | nobody → Mathieu Trudel-Lapierre (mathieu-tl) |
Changed in indicator-appmenu: | |
status: | In Progress → Fix Committed |
Changed in indicator-appmenu: | |
status: | Fix Committed → Fix Released |
This bug was fixed in the package indicator-appmenu - 12.10.4daily13. 02.13-0ubuntu1
--------------- 4daily13. 02.13-0ubuntu1) raring; urgency=low
indicator-appmenu (12.10.
[ Mathieu Trudel-Lapierre ]
* Coverity CHECKED_RETURN - CID 11391 (LP: #1112844)
[ Automatic PS uploader ]
* Automatic snapshot from revision 231
-- Automatic PS uploader <email address hidden> Wed, 13 Feb 2013 02:02:13 +0000