bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: patch-2.5.4: Use of mktemp?


From: Paul Eggert
Subject: Re: patch-2.5.4: Use of mktemp?
Date: 06 Apr 2003 15:24:12 -0700
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Petri Koistinen <address@hidden> writes:

> Any change this warning will be fixed?

Not in the short term.  However, I have drafted the following comment
to be put into the next version of 'patch', if only to cut down on
unnecessary bug reports.

  /* It is OK to use mktemp here, since the rest of the code always
     opens temp files with O_EXCL.  It might be better to use mkstemp
     to avoid some DoS problems, but simply substituting mkstemp for
     mktemp here will not fix the DoS problems; a more extensive
     change would be needed.  */




reply via email to

[Prev in Thread] Current Thread [Next in Thread]