Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: aa864beae547d7e3d43a30b59f0a017f0614e30f
Ticket: 628966ffffffffffffffffffffffffffffffffff
Tcl_FSEvalFile crashes under WinNT
User & Date: darthnice on 2002-10-26 05:26:22
Changes

  1. assignee changed to: "vincentdarley"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Line 2095 of tclWinFile.c attempts to call 
    GetFileAttributesEx through a NULL pointer. This 
    pointer is explicitly set to NULL on line 87 of 
    tclWin32Dll.c
    
    int main (void)
    {
    Tcl_Interp *interp;
    Tcl_Obj *fooTcl = Tcl_NewStringObj("foo.tcl",-
    1);
    int error;
    
    interp = Tcl_CreateInterp();
    
    error = Tcl_FSEvalFile(interp, fooTcl);
    if (error)
    {
    fputs(interp->result, stderr);
    }
    Tcl_DeleteInterp(interp);
    
    return error;
    }
    
    setting asciiProcs->getFileAttributesExProc to 
    GetFileAttributesExA stops the crash, but still doesn't 
    function properly.
    
  4. foundin changed to: "obsolete: 8.4.1"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "darthnice"
  9. subsystem changed to: "37. File System"
  10. title changed to: "Tcl_FSEvalFile crashes under WinNT"
  11. type changed to: "Bug"