Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 May 2005 18:07:43 +0200
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Hartmut Brandt <harti@FreeBSD.org>, Max Okumoto <okumoto@ucsd.edu>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/usr.bin/make job.c
Message-ID:  <20050512180743.6z1h22fldwksgw4w@netchild.homeip.net>
In-Reply-To: <200505121545.j4CFjENu078768@repoman.freebsd.org>
References:  <200505121545.j4CFjENu078768@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hartmut Brandt <harti@FreeBSD.org> wrote:

> harti       2005-05-12 15:45:14 UTC
>
>  FreeBSD src repository
>
>  Modified files:
>    usr.bin/make         job.c
>  Log:
>  Do mktemp() by hand to get rid of the mktemp() warning and the
>  possible associated security hole.
>
>  Submitted by:   Max Okumoto <okumoto@ucsd.edu> (7.245)

For those which didn't looked at the src: he can't use mkstemp() since he
wants to create a fifo.

But "making a copy" and creating mkfifo() out of it looks like overkill to
me. Why not using mkdtemp() and creating a fixed name in this temporary
directory instead?

Bye,
Alexander.

-- 
http://www.Leidinger.net  Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org     netchild @ FreeBSD.org  : PGP ID = 72077137
It's ten o'clock; do you know where your processes are?




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