Bug 33509 - Samba uses mktemp
Samba uses mktemp
Product: Red Hat Raw Hide
Classification: Retired
Component: samba (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Trond Eivind Glomsrxd
David Lawrence
: Security
Depends On:
  Show dependency treegraph
Reported: 2001-03-27 17:58 EST by Will Newton
Modified: 2007-04-18 12:32 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-05-07 15:10:40 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Will Newton 2001-03-27 17:58:10 EST
lib/util.o: In function `smbd_mktemp':
lib/util.o(.text+0x4ee1): the use of `mktemp' is dangerous, better use 
Comment 1 Bill Nottingham 2001-03-27 18:01:51 EST
It wraps it with something to secure it (because mkstemp
isn't portable...)
Comment 2 Andrew Bartlett 2001-05-05 04:29:13 EDT
Samba 2.2.1 will ship with this finally fixed, with mkstemp used where available
and secure.
Comment 3 Bill Nottingham 2001-05-15 17:28:02 EDT
This is fixed in the errata samba releases.

Note You need to log in before you can comment on or make changes to this bug.