Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 135181ae77ec78b03342a9ada38f404e4ce29502
Ticket: 453512ffffffffffffffffffffffffffffffffff
tmpnam() is dangerous
User & Date: dkf on 2001-09-03 21:54:14
Changes

  1. icomment:
    Logged In: YES 
    user_id=79902
    
    Apparently mkstemp() modifies its string 'template' argument
    to be the file that it has opened for you, though the
    documentation (on Solaris) is not particularly clear on this
    point (but experiment confirms it.) Maybe it is possible to
    bodge a fix like that? (The permissions on the temporary
    file seem sensible too, and /tmp is usually configured to be
    difficult for someone to compromise *too* much.)
    
    
  2. login: "dkf"
  3. mimetype: "text/plain"
  4. username: "dkf"