[Python-Dev] FWD: Python execvpe symlink race condition.

Aahz aahz@pythoncraft.com
Sun, 16 Feb 2003 10:21:17 -0500


> >> It is possible, to create a link of the file to be executed (t) in the 
> >> limited time window between the statements
> >> os.path.exists(file) in tempfile.py and execv(t, ('blah',)) in os.py are 
> >> executed.
> 
> That is exactly the signature of one of the tempfile bugs that I
> fixed.  I do not know whether any official 2.2.x release has yet
> occurred that includes the bugfix.

That's what I suspected.  Did you check that into the 2.2.x maint
branch?  (I remember that you did, but I'm triple-checking.)
-- 
Aahz (aahz@pythoncraft.com)           <*>         http://www.pythoncraft.com/

Register for PyCon now!  http://www.python.org/pycon/reg.html