Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 1a87cc709cec97dfbdbcef21a53dec5ae2297a7e
Ticket: 3081065fffffffffffffffffffffffffffffffff
post-free writes to Tcl_Obj fields
User & Date: dgp on 2010-10-05 23:30:13
Changes

  1. icomment:
    When calling TclCleanupByteCode()
    to free the internal rep of a Tcl_Obj, it is
    possible to reduce the refcount on that same
    Tcl_Obj to zero, causing it to be freed.  This
    means a freeIntRepProc ought not be writing
    to the objPtr->fields after TCBC returns.
    
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"