Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b0167622c0ef448bcc154d36c77aae532ff79657
Ticket: 3081065fffffffffffffffffffffffffffffffff
post-free writes to Tcl_Obj fields
User & Date: nijtmans on 2010-10-07 04:05:00
Changes

  1. icomment:
    Two minor observations:
    - If this can happen in FreeSubstCodeInternalRep, then
    it can happen in FreeByteCodeInternalRep as well.
    - After modifying FreeByteCodeInternalRep, it's
    implementation is equal to FreeSubstCodeInternalRep,
    so one of them could be eliminated.
    
    I don't know if a test case can be found for this,
    but better safe than sorry. Here is a patch. The
    FreeByteCodeInternalRep change should be
    backported to 8.5 and 8.4 as well IMHO.
    
    
  2. login: "nijtmans"
  3. mimetype: "text/plain"
  4. username: "nijtmans"