Tcl Source Code

Ticket Change Details
Login
Overview

Artifact ID: 3a29f89238d2b7da147c8be3e6afdd8899787eb6
Ticket: 1211aceef2cabcad39cb26bb5dcb6b7dc14a1325
temp file refcount breakage
User & Date: dgp 2014-07-11 17:58:39
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    Checkin
    
    http://core.tcl.tk/tcl/info/2f3da59db1
    
    contributed a rewrite of the temporary file
    functionality on unix.
    
    Trouble is that the header of the routine
    TclpTempFileName() documents that when
    a non-NULL value is returned it is a (Tcl_Obj *)
    pointing to a zero ref count value, and callers
    believe this.  The reform did not respect that
    claim.  The new routine returns values with
    refcount 1, and leaks ensue.
    
  5. foundin changed to: "trunk"
  6. is_private changed to: "0"
  7. login: "dgp"
  8. priority changed to: "5 Medium"
  9. resolution changed to: "None"
  10. severity changed to: "Severe"
  11. status changed to: "Open"
  12. submitter changed to: "dgp"
  13. subsystem changed to: "27. Channel Types"
  14. title changed to: "temp file refcount breakage"
  15. type changed to: "Bug"