Flac and Audio CD Health Checks
On Fri, 22 May 2015 14:26:17 +0100, Richard Kettlewell
wrote:
(Don Pearce) writes:
I don't know if it is the same in all OS, but for temp files I
generally use a word relevant to the programme plus the current
process ID number. This pretty much guarantees a unique name that
won't be used by anyone else.
Both are highly predictable values. If you’re not using O_EXCL then you
probably have a security vulnerability.
I wasn't really thinking of security - just avoiding a file name
collision.
d
|