Bugtraq mailing list archives
Re: mktemp() and friends
From: lifesux () cox org (Uriel Maimon)
Date: Mon, 23 Dec 1996 23:39:55 +0200
I for one liked the sendmail safefopen(). I think it's the most thorough soloution for race conditions I have seen so far. Feel free to correct me. Uriel
open("/tmp/filename", O_CREAT|O_EXCL) is what I'd like to see used and what I think that interface should use (this provides an open file descriptor or -1 if the file is already there, no symbolic link races, etc). I don't know if it does or doesn't, but it should.
Current thread:
- Re: mktemp() and friends Theo de Raadt (Dec 23)
- Re: mktemp() and friends Darren Reed (Dec 23)
- Re: mktemp() and friends Uriel Maimon (Dec 23)
- <Possible follow-ups>
- Re: mktemp() and friends Theo de Raadt (Dec 23)
- Re: mktemp() and friends Darren Reed (Dec 23)
- Re: mktemp() and friends Steve \ (Dec 24)
- Re: mktemp() and friends Casper Dik (Dec 24)
- Re: mktemp() and friends Theo de Raadt (Dec 23)
- Re: mktemp() and friends Benedikt Stockebrand (Dec 23)
- Re: mktemp() and friends Theo de Raadt (Dec 24)
- Re: mktemp() and friends D. J. Bernstein (Dec 24)
- Re: mktemp() and friends SGI Security Coordinator (Dec 24)
- Re: mktemp() and friends Darren Reed (Dec 23)