Bug 33509

Summary: Samba uses mktemp
Product: [Retired] Red Hat Raw Hide Reporter: Will Newton <will>
Component: sambaAssignee: Trond Eivind Glomsrxd <teg>
Status: CLOSED ERRATA QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0Keywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-05-07 19:10:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Will Newton 2001-03-27 22:58:10 UTC
lib/util.o: In function `smbd_mktemp':
lib/util.o(.text+0x4ee1): the use of `mktemp' is dangerous, better use 
`mkstemp'

Comment 1 Bill Nottingham 2001-03-27 23:01:51 UTC
It wraps it with something to secure it (because mkstemp
isn't portable...)

Comment 2 Andrew Bartlett 2001-05-05 08:29:13 UTC
Samba 2.2.1 will ship with this finally fixed, with mkstemp used where available
and secure.

Comment 3 Bill Nottingham 2001-05-15 21:28:02 UTC
This is fixed in the errata samba releases.