Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 6c1bfbb525ad10cff6e1684bde718284489a7ccf
Ticket: 442664ffffffffffffffffffffffffffffffffff
Tcl_GetsObjCmd corrupts freed object
User & Date: nobody on 2001-07-19 06:11:49
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    It appears to me that Tcl_GetsObjCmd has the potential
    to corrupt a freed object when objc == 3.  This is
    because it retrieves resultPtr and then subsequently
    calls Tcl_ObjSetVar2, which invalidates the resultPtr
    object.  I will attach a patch which I believe to be
    correct.
    
  4. foundin changed to: "obsolete: 8.3.1"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "16. Commands A-H"
  10. title changed to: "Tcl_GetsObjCmd corrupts freed object"
  11. type changed to: "Bug"