** Description changed:

+ [Impact]
+ 
+ Coverity report bug.
+ 
+ [Test Case]
+ 
+ None, no regressions allowed.
+ 
+ [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://wiki.ubuntu.com/CanonicalProductStrategy/Coverity
  CID: 10450
  Checker: SECURE_TEMP
  Category: No category available
  CWE definition: http://cwe.mitre.org/data/definitions/377.html
  File: /tmp/buildd/bamf-0.4.0daily13.01.11/src/bamf-legacy-window.c
  Function: bamf_legacy_window_save_mini_icon
  Code snippet:
- 217 
+ 217
  218   if (wnck_window_get_icon_is_fallback (window))
  219     return NULL;
- 220 
+ 220
  CID 10450 - SECURE_TEMP
  {CovLStrv2{{t{{0} creates files with predictable names, which is 
unsafe.}{"tmpnam(char *)"}}}}
  221   tmp = tmpnam (NULL);
  222   if (!tmp)
  223     return NULL;
- 224 
+ 224
  225   pbuf = wnck_window_get_icon (window);
  226   if (!gdk_pixbuf_save (pbuf, tmp, "png", NULL, NULL))

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1100551

Title:
  Coverity SECURE_TEMP - CID 10450

To manage notifications about this bug go to:
https://bugs.launchpad.net/bamf/+bug/1100551/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to