[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Uploaded cfengine 1.4.12-2 (source i386 sparc) to master



Previously Ben Collins wrote:
>  cfengine (1.4.12-2) frozen unstable; urgency=high
>  .
>    * Fixed src/tidy.c by unlinking ~/.cfengine.rm prior to opening it for
>      writing to avoid DoS attempts.

Which still does not fix the problem but only changes is into a race
that isn't even that hard to win. The proper solution is the create the
file atomically using open(.., O_CREAT|O_EXCL);

Wichert.

-- 
==============================================================================
This combination of bytes forms a message written to you by Wichert Akkerman.
E-Mail: wakkerma@cs.leidenuniv.nl
WWW: http://www.wi.leidenuniv.nl/~wichert/

Attachment: pgpKkZx2bh2p2.pgp
Description: PGP signature


Reply to: