
23 Jan
2005
23 Jan
'05
12:27 a.m.
Gennadiy Rozental wrote:
b) the ability to create a temporary fstream with a unique name in a safe way.
Could you give me more dtailes on that: what the problem, why it needs framework to resolve it e.t.c.
I think he's refering to the fact that tmpnam is considered insecure. There's a discussion here: http://www.tldp.org/HOWTO/Secure-Programs-HOWTO/avoid-race.html if you scroll to 7.10.1.2. I've been planning to write a secure temp file component for the iostreams library, since I'm currently using tmpnam in the regression tests, but I haven't got around to it yet. Jonathan