Coverity SECURE_TEMP - CID 10450
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
BAMF |
Fix Released
|
Low
|
Marco Trevisan (Treviño) | ||
bamf (Ubuntu) |
Fix Released
|
Undecided
|
Marco Trevisan (Treviño) | ||
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: 10450
Checker: SECURE_TEMP
Category: No category available
CWE definition: http://
File: /tmp/buildd/
Function: bamf_legacy_
Code snippet:
217
218 if (wnck_window_
219 return NULL;
220
CID 10450 - SECURE_TEMP
{CovLStrv2{{t{{0} creates files with predictable names, which is unsafe.
221 tmp = tmpnam (NULL);
222 if (!tmp)
223 return NULL;
224
225 pbuf = wnck_window_
226 if (!gdk_pixbuf_save (pbuf, tmp, "png", NULL, NULL))
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 |
Changed in bamf: | |
status: | Fix Committed → Fix Released |
no longer affects: | bamf/0.4 |
Changed in bamf (Ubuntu): | |
assignee: | nobody → Marco Trevisan (Treviño) (3v1n0) |
Changed in bamf (Ubuntu Raring): | |
status: | New → Fix Released |
Changed in bamf (Ubuntu Raring): | |
status: | Fix Released → Fix Committed |
tags: |
added: verification-done removed: verification-needed |
Source file with Coverity annotations.