From owner-freebsd-security Tue May 15 6:51:35 2001 Delivered-To: freebsd-security@freebsd.org Received: from beheer2.iae.nl (orion.officenet.iae.nl [212.61.20.140]) by hub.freebsd.org (Postfix) with ESMTP id 9F1B337B509 for ; Tue, 15 May 2001 06:51:32 -0700 (PDT) (envelope-from axel@orion.iae.nl) Received: by beheer2.iae.nl (Postfix, from userid 1000) id 436D9C3CB3; Tue, 15 May 2001 15:51:31 +0200 (CEST) Date: Tue, 15 May 2001 15:51:31 +0200 From: Axel Scheepers To: freebsd-security@FreeBSD.org Subject: Re: Warnings while compiling Samba Message-ID: <20010515155130.D40513@beheer2.iae.nl> Mail-Followup-To: Axel Scheepers , freebsd-security@FreeBSD.org References: <3AFFE661.5D6015EA@comune.arzignano.vi.it> <20010514162605.C3213@petra.hos.u-szeged.hu> <3B012DB2.DF11CF12@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3B012DB2.DF11CF12@gmx.net>; from memphis_ms@gmx.net on Tue, May 15, 2001 at 09:22:58AM -0400 Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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