From owner-freebsd-security Wed Jan 16 3: 9:21 2002 Delivered-To: freebsd-security@freebsd.org Received: from draco.over-yonder.net (draco.over-yonder.net [198.78.58.61]) by hub.freebsd.org (Postfix) with ESMTP id 0A63737B404; Wed, 16 Jan 2002 03:09:14 -0800 (PST) Received: by draco.over-yonder.net (Postfix, from userid 100) id E1899FC5; Wed, 16 Jan 2002 05:09:12 -0600 (CST) Date: Wed, 16 Jan 2002 05:09:12 -0600 From: "Matthew D. Fuller" To: Kris Kennaway Cc: Alfred Perlstein , Buliwyf McGraw , freebsd-security@FreeBSD.ORG Subject: Re: gets() is unsafe Message-ID: <20020116050912.P23043@over-yonder.net> References: <20020114151955.I26067@elvis.mu.org> <20020115082216.A792@citusc17.usc.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5-fullermd.1i In-Reply-To: <20020115082216.A792@citusc17.usc.edu>; from kris@FreeBSD.ORG on Tue, Jan 15, 2002 at 08:22:16AM -0800 X-Editor: vi X-OS: FreeBSD Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Jan 15, 2002 at 08:22:16AM -0800 I heard the voice of Kris Kennaway, and lo! it spake thus: > > * Buliwyf McGraw [020114 14:49] wrote: > > > > > > Hi... i was installing several applications (php,xmms,etc) on my > > > FreeBSD 4.4 server and i got the next message a lot of times when > > > i was compiling: ^^^^^^^^^ > > > /usr/lib/compat/libc.so.3: warning: mktemp() possibly used unsafely; > > > consider using mkstemp() > > > /usr/lib/compat/libc.so.3: warning: tmpnam() possibly used unsafely; > > > consider using mkstemp() [...] > No, this is a FAQ; it's a bug in the linker which causes it to trip > every single _warn_references() in the library when it links to libc, > regardless of whether the program actually uses the functions in > question. I think it's an even better FAQ: Why, when he's compiling, is it linking against a compat/libc? -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Unix Systems Administrator | fullermd@futuresouth.com Specializing in FreeBSD | http://www.over-yonder.net/ "The only reason I'm burning my candle at both ends, is because I haven't figured out how to light the middle yet" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message