Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 74e0f71b73dea97604e2e3a140eafa370ae69c74
Ticket: 1999176fffffffffffffffffffffffffffffffff
glob can cause crash on windows Tcl8.5.2
User & Date: dgp on 2008-06-24 04:30:15
Changes

  1. icomment:
    Logged In: YES 
    user_id=80530
    Originator: NO
    
    
    From the comments about 'struct FsPath'
    on lines 57-64 of tclPathObj.c:
    
     * (i) flags == 0, => Ordinary path.
     *
     * translatedPathPtr contains the translated path (which may be a circular
     * reference to the object itself). If it is NULL then the path is pure
     * normalized (and the normPathPtr will be a circular reference). cwdPtr is
     * null for an absolute path, and non-null for a relative path (unless the cwd
     * has never been set, in which case the cwdPtr may also be null for a
     * relative path).
    
    Take care to note that cwdPtr==NULL is possible for a
    relative path when the global cwd has never been set.
    The code at lines 1773-1174 (in Tcl_FSGetNormalizedPath())
    fails to account for this possibility.
    
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"