Overview
| Artifact ID: | 6c1bfbb525ad10cff6e1684bde718284489a7ccf |
|---|---|
| Ticket: | 442664ffffffffffffffffffffffffffffffffff
Tcl_GetsObjCmd corrupts freed object |
| User & Date: | nobody on 2001-07-19 06:11:49 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- 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.
- foundin changed to: "obsolete: 8.3.1"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "16. Commands A-H"
- title changed to: "Tcl_GetsObjCmd corrupts freed object"
- type changed to: "Bug"