On Thu, May 01, 2008 at 10:24:51AM -0000, Mauro Vale wrote: > Blender should use a random file name every time it needs to render.
Well, use of /tmp should be only by mkstemp().
> This way it is impossible to overwrite anything with a symlink ;)
Alternatively, require that the files not exist first, using open with O_CREAT and O_EXCL.
On Thu, May 01, 2008 at 10:24:51AM -0000, Mauro Vale wrote:
> Blender should use a random file name every time it needs to render.
Well, use of /tmp should be only by mkstemp().
> This way it is impossible to overwrite anything with a symlink ;)
Alternatively, require that the files not exist first, using open with
O_CREAT and O_EXCL.