Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jan 2002 05:09:12 -0600
From:      "Matthew D. Fuller" <fullermd@over-yonder.net>
To:        Kris Kennaway <kris@FreeBSD.ORG>
Cc:        Alfred Perlstein <bright@mu.org>, Buliwyf McGraw <buliwyf@libertad.univalle.edu.co>, freebsd-security@FreeBSD.ORG
Subject:   Re: gets() is unsafe
Message-ID:  <20020116050912.P23043@over-yonder.net>
In-Reply-To: <20020115082216.A792@citusc17.usc.edu>; from kris@FreeBSD.ORG on Tue, Jan 15, 2002 at 08:22:16AM -0800
References:  <Pine.BSF.4.43.0201141750380.93171-100000@libertad.univalle.edu.co> <20020114151955.I26067@elvis.mu.org> <20020115082216.A792@citusc17.usc.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jan 15, 2002 at 08:22:16AM -0800 I heard the voice of
Kris Kennaway, and lo! it spake thus:
> > * Buliwyf McGraw <buliwyf@libertad.univalle.edu.co> [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




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