Boost logo

Boost :

From: Jonathan Turkanis (technews_at_[hidden])
Date: 2005-01-22 19:27:29


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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk