Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c805b4aede77a042d3da9afc996e2c8168901694
Ticket: 3613569fffffffffffffffffffffffffffffffff
If a temporary file cannot be opened Tcl_LoadFile can crash
User & Date: rkeene on 2013-05-18 18:43:10
Changes

  1. assignee changed to: "dgp"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    copyToPtr can be NULL and it should be checked before passing it to Tcl_IncrRefCount()
    
    http://core.tcl.tk/tcl/artifact/26a06b015bfec491bb32903223af5152b3ceeb0d?ln=3230-3231
    
    Prelimnary patch attached, however after applying this patch I then get:
    Tcl_FSGetFileSystemForPath called with NULL object
    Segmentation fault (core dumped)
    
  4. foundin changed to: "None"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "rkeene"
  10. subsystem changed to: "37. File System"
  11. title changed to:
    If a temporary file cannot be opened ... can segfault
    
  12. type changed to: "Bug"