Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jan 2000 19:17:32 -0800 (PST)
From:      Kris Kennaway <kris@hub.freebsd.org>
To:        Peter Jeremy <peter.jeremy@alcatel.com.au>
Cc:        audit@FreeBSD.ORG
Subject:   Re: awk tempfile handling
Message-ID:  <Pine.BSF.4.21.0001161915510.41282-100000@hub.freebsd.org>
In-Reply-To: <00Jan17.130325est.40324@border.alcanet.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 17 Jan 2000, Peter Jeremy wrote:

> No good.  mkstemp() updates the passed string in place (see the notes
> in mktemp(3).  The above defines a read-only string.  This leads to
> segmentation violations at runtime.

[Snip other problems]

Gah, I guess I wasn't actually looking when I made this patch. I'll
revisit it. It's good to see someone is actually reading these -
thanks!

Kris

----
"How many roads must a man walk down, before you call him a man?"
"Eight!"
"That was a rhetorical question!"
"Oh..then, seven!" -- Homer Simpson



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0001161915510.41282-100000>