Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 May 2001 15:51:31 +0200
From:      Axel Scheepers <axel@beheer2.iae.nl>
To:        freebsd-security@FreeBSD.org
Subject:   Re: Warnings while compiling Samba
Message-ID:  <20010515155130.D40513@beheer2.iae.nl>
In-Reply-To: <3B012DB2.DF11CF12@gmx.net>; from memphis_ms@gmx.net on Tue, May 15, 2001 at 09:22:58AM -0400
References:  <3AFFE661.5D6015EA@comune.arzignano.vi.it> <20010514162605.C3213@petra.hos.u-szeged.hu> <3B012DB2.DF11CF12@gmx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Well, man mkstemp brings me the the man page of mkstemp so I guess i'ts save
to just replace the mktemp call with mkstemp. I don't have the time right now
to look into the source so I can't be 100% sure about this... anyone?

Gr,
Axel

On Tue, May 15, 2001 at 09:22:58AM -0400, Raoul Schroeder wrote:
> > This warning is always triggered if the linker encounters this function
> > name since often it is used unsafely and since FreeBSD provides a better
> > alternative. But this is for the programmer/porter who might consider if he
> > better swap mktemp() to mkstemp() or not. Unfortunately, it is not as easy
> > as switching the two words... so I do not think you should be very
> > concerned about this.
> 
> Hmm, actually, with Samba-TNG, I really did just switched the functions to
> mkstemp() and it worked fine.
> I cannot guarantuee anything though. Just personal experience..
> 
> Raoul
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-security" in the body of the message
> 

-- 
Met vriendelijke groet,
VIA NET.WORKS Nederland

Axel Scheepers
Operations
phone 	+31 40 239 33 93
fax 	+31 40 239 33 11
e-mail 	eindhoven.beheer@vianetworks.nl
http://www.vianetworks.nl/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010515155130.D40513>